{"repo":"sindresorhus/gulp-template","free":true,"listed":false,"github":"https://github.com/sindresorhus/gulp-template","clone":"git clone https://github.com/sindresorhus/gulp-template.git","description":"Render/precompile Lodash templates","language":"JavaScript","stars":287,"topics":["gulp-plugin","lodash","javascript","underscore","nodejs","template"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"gulp-template Render/precompile Lodash/Underscore templates Issues with the output should be reported on the Lodash issue tracker. Install Usage src/greeting.html gulpfile.js You can alternatively use gulp-data to inject the data: dist/greeting.html API template(data, options?) Render a template using the provided data . template.precompile(options?) Precompile a template for rendering dynamically at a later time. data Type: object Data object used to populate the text. options Type: object Lodash .template options. Tip You can also provide your own interpolation string for custom templates. src/greeting.html gulpfile.js dist/greeting.html Tip If you need to pass through a file unprocessed (for example, a shell script with ${VAR} syntax), you can disable interpolation:","default_branch":null,"files":null,"tree":[],"storefront":"/r/sindresorhus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sindresorhus/gulp-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}