/jstransformer-nunjucks

Nunjucks support for JSTransformers.

Primary LanguageJavaScriptMIT LicenseMIT

jstransformer-nunjucks

Nunjucks support for JSTransformers.

Build Status Coverage Status Dependency Status Greenkeeper badge NPM version

Installation

npm install jstransformer-nunjucks

API

var nunjucks = require('jstransformer')(require('jstransformer-nunjucks'))

nunjucks.render('Hello, {{ name }}!', {name: 'World'}).body
//=> 'Hello, World!'

License

MIT