handlebars-rev

0.0.6-camelcase • Public • Published

A CLI for generating a file from a handlebars template

hbs-rev --main main-template.handlebars --partials root-partials-directory --data data.json --output generated.html

Files in the partials directory can be referenced as partials based on the file name. For example, the file root-partials-directory/layout.handlebars becomes the partial {{#> layout}}

Includes additional helpers:

Example usage: https://github.com/PrimalZed/handlebars-poc

Readme

Keywords

Package Sidebar

Install

npm i handlebars-rev

Weekly Downloads

3

Version

0.0.6-camelcase

License

MIT

Unpacked Size

20.6 kB

Total Files

12

Last publish

Collaborators

  • primal-zed