1.0.0 • Published 10 years ago

dusting v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

dusting npm.io

Recursively compiles a directory of dust.js templates into grouped .js files.

Dust templates in the root directory are compiled into a templates.js file. Templates in sub directories of the root are compiled into a file matching the full directory name (with dots replacing path separator). So all templates at sub/dir/*.dust would be compiled into sub.dir.js file.

installation

For use in other node projects:

npm install dusting

As a command line tool:

npm install dusting -g

usage

designed to be used synchronously:

var dusting = require('dusting');
dusting({
  source: <input>,
  output: <output>,
  // optionally rename the root `templates.js` file
  rootOutput: 'foo.js'
});

command line:

dusting <input> [output]
  • <source> path to a directory containing dust.js templates (*.dust).
  • [output] directory to write output to, defaults to cwd
1.0.0

10 years ago

0.1.2

10 years ago

0.1.1

11 years ago

0.0.10

11 years ago

0.0.9

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago