co-dust

0.1.0 • Public • Published

co-dust

Basically this allows something like this

Changelog

0.0.2

  • Allowing [precompile] flag to be used in codust config, requires dust files to be built with dust.config.cjs

0.0.1

  • Allowing render to be called with yielding

Config

var codust = require('co-dust');
dust = new codust({base:'./', precompiled: false});
var val = yield dust.render('test.dust');
dust.render('dust2.dust')
  .then(function(val){console.log(val);})
  .catch(function(err){throw err;});

Readme

Keywords

Package Sidebar

Install

npm i co-dust

Weekly Downloads

4

Version

0.1.0

License

ISC

Last publish

Collaborators

  • shekhei