hbs-templater
v0.3.0
Published
Command line tool for compiling handlebars templates.
Downloads
2
Readme
hbs-templater
Command line tool for compiling handlebars templates.
CLI ex.
hbs-templater compile --params "{'foo': 'bar'}" --input ./foo --output ./bar
(Pending not implemented yet) Module ex.
import path from 'path'
import hbsTemplater from 'hbs-templater'
hbsTemplater.compile({
params: {
foo: 'bar',
},
input: path.resolve('./foo'),
output: path.resolve('./bar'),
})
Install
npm i -g hbs-templater