Riot.js support for JSTransformers.
There is a difference between Riot.js and Riot. The last version was v1.0.4
before it become a React-like UI library and moved to www.npm.im/riot. There could be a JSTransformer for Riot
specially. This is just their v1
template engine, which is a little bit different than v2
template engine.
npm install jstransformer-riotjs --save
var riotjs = require('jstransformer')(require('jstransformer-riotjs'))
riotjs.render('<p>Hello {place}</p>', {place: 'world'}).body
//=> '<p>Hello world</p>'
MIT