Awesome
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