Skip to content

Riot v1.0.4 (latest release before become React-like) support for JSTransformers

License

Notifications You must be signed in to change notification settings

jstransformers/jstransformer-riotjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jstransformer-riotjs

Riot.js support for JSTransformers.

Build Status Coverage Status Dependency Status NPM version

Note

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.

Installation

npm install jstransformer-riotjs --save

API

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

riotjs.render('<p>Hello {place}</p>', {place: 'world'}).body
//=> '<p>Hello world</p>'

License

MIT

About

Riot v1.0.4 (latest release before become React-like) support for JSTransformers

Resources

License

Stars

Watchers

Forks

Packages

No packages published