https://github.com/jstransformers/jstransformer-octet
Octet support for JSTransformers
https://github.com/jstransformers/jstransformer-octet
Last synced: 8 months ago
JSON representation
Octet support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-octet
- Owner: jstransformers
- License: mit
- Created: 2015-04-05T15:21:41.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T03:36:10.000Z (about 6 years ago)
- Last Synced: 2025-09-07T21:07:01.155Z (9 months ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-octet
- Size: 53.7 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-octet
[Octet](https://github.com/tunnckoCore/octet) support for [JSTransformers](http://github.com/jstransformers/jstransformer).
[](https://travis-ci.org/jstransformers/jstransformer-octet)
[](https://codecov.io/gh/jstransformers/jstransformer-octet)
[](http://david-dm.org/jstransformers/jstransformer-octet)
[](https://www.npmjs.org/package/jstransformer-octet)
## Installation
npm install jstransformer-octet
## API
```js
var octet = require('jstransformer')(require('jstransformer-octet'))
var locals = {
user: {
name: 'John'
}
}
octet.render('
<%this.user.name%>
', {}, locals).body //=> John
```
## License
MIT