0.1.2 • Published 11 years ago
tmplc v0.1.2
This script allows you to collect all the HTML templates in some directory and put them into a single Javascript module which can be loaded later, for instance by RequireJS.
INSTALLATION
Another way to install this package is to use npm
:
$ sudo npm install -g tmplc
USAGE
$ tmpls.js --dir directory/with/templates --out output/js/file.js
If no options are submited, the defaults are templates
for the templates
directory and templates.js
for the output file.