utc
Simple underscore.js template compiler.
Getting Started
Install the module with: npm install -g utc
Using utc (CLI)
Once you have installed utc type utc --help
to see all available options
Options:
-h, --help output usage information
-V, --version output the version number
-d, --directory directory
-s, --fileSuffix file suffix
-f, --functionSuffix function suffix
Examples
Inside 'templates' folder create a file called 'sampleTemplate.js':
{ ;};
run utc -d "templates" -s "Template" -f "Str"
and you should have the same file with a new content
{ ;};
License
Copyright (c) 2012 nowamasa
Licensed under the MIT license.