Package Exports
- jstransformer-marko
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jstransformer-marko) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
jstransformer-marko
Marko support for JSTransformers.
Installation
npm install jstransformer-marko
API
var marko = require('jstransformer')(require('jstransformer-marko'))
var locals = {
name: "World"
}
marko.render('Hello, ${data.name}!', locals).body
//=> 'Hello, World!'
License
MIT