node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


Handlebars compiler

This is used in conjunction with the YUI shifter tool.

Install Dependencies
  • nodejs
  • npm
Build Dependency


How to install

Run this command in the project directory:

make install

To do an install without make, run:

npm install -g .

How to use:

handlebars-compile [folder1] [folder2] ...

If no folders are specified, then the compiler will search in the template folder for *.handlebars files.

Setup with YUI Shifter

For each YUI module, add the handlebars-compile command to the build.json under the exec option.

"exec": [