UNPKG
inserter
Version:
latest (1.1.3)
1.1.3
1.1.2
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.1
Insert pre-defined strings into specific sections of other files by using comments.
inserter
/
test.js
12 lines
(10 loc)
•
234 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
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
();