0.0.9 • Published 13 years ago
dustbuster v0.0.9
dustbuster
compiles dust.js templates
installation
For use in other node projects:
npm install dustbusterAs a command line tool:
npm install dustbuster -gusage
in a node project:
var dustbuster = require('dustbuster');
dustbuster({
input: <input>,
basename: <basename>,
output: <output>
});command line:
dustbuster <input> [-b <basename>, -o <output>]<input>can be a path to a single file or a directory containing dust.js templates (*.dust)<basename>when dustbusting directories, replaces the directory name as the basename for the registered template. For single files,<basename>is prepended to the filename.<output>file to write output to. If not specified returns the string of compiled dust templates