Skip to content

Watch and compile Handlebars templates to HTML

Notifications You must be signed in to change notification settings

arkuhn/hbs2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Small utility for watching an HBS file for updates, rendering it to HTML, and syncing it to the browser.

  1. Clone the repo
  2. Run npm link

Usage

Just point it to an hbs file or directory with hbs files in it. Optionally provide data.

hbs2html -i ./my/template.hbs
hbs2html -i <directory with .hbs file and .json file>
hbs2html -i ./my/template.hbs -d /my/data.json
hbs2html -i ./my/template.hbs -d "{\"message\":\"Hello, World!\"}"

About

Watch and compile Handlebars templates to HTML

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published