Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 497 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 497 Bytes

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());