javascript - How to render locals into JSON file -


i taking @ sails generator code, , noticed rendering locals package.json file <%= variablename %>.

how do this? kind of special module? ejs thing? i've noticed yeoman generators same thing.

here's sails code

answer: use lodash or underscore templating render variables.


Comments

Popular posts from this blog

css - I want to align grid in center -

Contact Form PHP Email Script -

python - SWIG function not printing output -