0.3.0 • Published 8 years ago

hbs-templater v0.3.0

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

hbs-templater

Build Status

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