dust-render-strings

0.0.2 • Public • Published

dust-render-strings

A stupid-simple utility to evaluate any strings in an object which contain dust templates, in the context of the provided object.

Useful for providing templating capabilities for configuration JSON files. For example, with Flatiron or NConf:

var dustRenderStrings = require('dust-render-strings');
app.config.stores.literal.store = dustRenderStrings(app.config.get());

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i dust-render-strings

    Weekly Downloads

    0

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • ssevertson