UNPKG

inserter

Version:

Insert pre-defined strings into specific sections of other files by using comments.

12 lines (10 loc) 234 B
var Inserter = require('./index'); var insert = new Inserter({ templates: ['test/tpl/test-case/usage/README.md'], endpoints: [ 'test/output/pages.hbs', 'test/output/styles.scss', 'test/output/test.js' ] }); insert.render();