Registry / devops / dust-compiler

dust-compiler

JSON →
library0.3.9jsnpmunverified

A Dust.js template watcher/compiler that compiles .dust files into JavaScript templates and provides desktop notifications on OS X (Notification Center), Linux (notify-send), and Windows. Version 0.3.9 is the latest stable release; the package appears to be in maintenance mode with no recent updates. It differentiates by integrating with native OS notifications for compile errors, making it visible even when the terminal is hidden. It supports AMD output, bootstrap compilation, and custom template naming. The package is designed for Node.js >=0.10.21 and is typically installed globally via npm.

npm install dust-compiler
INSTALL
IMPORT
SIG · DUST-COMPILER
D
dust-compiler
devopsjavascriptv0.3.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dust-compiler CLI
npx dust-compiler -s source -d dest
dust-compiler is a command-line tool, not a library. It is intended to be used via the CLI after global install.

Installs dust-compiler globally and compiles all .dust files in ./templates to ./compiled using bootstrap mode.

npm install -g dust-compiler dust-compiler -s ./templates -d ./compiled --bootstrap
Debug
Known issues
gotchadust-compiler expects .dust file extension; files without it are ignored.
fix
Rename template files to have the .dust extension.
affects: >=0.1.0
gotchaDesktop notifications require notify-send on Linux (libnotify-bin) and are not available on headless systems.
fix
Install libnotify-bin on Linux or use --nonotify flag to suppress notifications.
affects: >=0.1.0
Errors
Common errors & fixes
Command 'dust-compiler' not found
The package was not installed globally or is not in PATH.
fix
Run 'npm install -g dust-compiler' to install globally.
Error: Cannot find module 'dustjs-linkedin'
Missing peer or local dependency for dustjs-linkedin.
fix
Run 'npm install dustjs-linkedin' in the same directory or install globally with --global-style.
Upgrade
Version history
0.3.9latest on npm
Audit
Dependencies
dustjs-linkedinrequiredCore dependency used to compile Dust templates.
node-notifierrequiredProvides cross-platform desktop notifications (OS X, Linux, Windows).
Agent activity
7 hits · last 30 days
node
6
Bingbot
1
Resources
dust-compiler — npm install dust-compiler · libregistry