0.3.0 • Published 9 years ago
hbs-templater v0.3.0
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