jstransformer-twig
v1.16.0
Published
Twig.js support for JSTransformers.
Downloads
78
Keywords
Readme
jstransformer-twig
Twig.js support for JSTransformers.
Installation
npm install jstransformer-twig
API
var twig = require('jstransformer')(require('jstransformer-twig'))
twig.render('Hello, {{ name }}!', { name: 'World' }).body
//=> 'Hello, World!'
License
MIT