jstransformer-dust

0.1.0 • Public • Published

jstransformer-dust

Dust.js support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Installation

npm install jstransformer-dust

API

var dust = require('jstransformer')(require('jstransformer-dust'))
 
var locals = {
  features: [
    {name: "async"},
    {name: "helpers"},
    {name: "filters"},
    {name: "a little bit of logic"},
    {name: "and more"}
  ]
};
dust.renderAsync('Dust does {#features}{name}{@sep}, {/sep}{/features}!', locals).then(function (result) {
  result
  //=> 'Dust does async, helpers, filters, a little bit of logic, and more!'
})

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i jstransformer-dust

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • calebeby
  • forbeslindesay
  • hemanth
  • robloach
  • stoeffel
  • timothygu