0.3.0 • Published 7 years ago
jstransformer-bliss v0.3.0
jstransformer-bliss
bliss support for JSTransformers.
Installation
npm install jstransformer-bliss
API
For more use-cases see the tests in test folder or see the JSTransformer API for more details.
var bliss = require('jstransformer')(require('jstransformer-bliss'));
bliss.render('<p>Hello @place !!</p>', {context: {place: 'world'}}).body
//=> '<p>Hello world !!</p>'
License
MIT