This package has been deprecated

Author message:

The Dust project is no longer maintained.

broccoli-dust

2.0.0 • Public • Published

Deprecated

The Dust project is no longer maintained.


broccoli-dust Build Status

Precompile Dust templates

Issues with the output should be reported on the Dust issue tracker.

Install

$ npm install --save-dev broccoli-dust

Usage

var dust = require('broccoli-dust');
tree = dust(tree, name);

API

dust(tree, [name])

name

Type: function
Default: Relative template path. Example: templates/list.dust

You can override the default behavior by supplying a function which gets the relative path and is expected to return the name.

Example:

tree = dust(tree, function (relativePath) {
	return 'tpl-' + relativePath;
});

License

MIT © Sindre Sorhus

/broccoli-dust/

    Package Sidebar

    Install

    npm i broccoli-dust

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    3.65 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus