https://github.com/jstransformers/jstransformer-just
JUST support for JSTransformers.
https://github.com/jstransformers/jstransformer-just
Last synced: over 1 year ago
JSON representation
JUST support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-just
- Owner: jstransformers
- License: mit
- Created: 2015-04-11T11:26:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T03:08:54.000Z (about 6 years ago)
- Last Synced: 2025-02-22T05:34:20.375Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-just
- Size: 51.8 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-just
[JUST](https://github.com/baryshev/just) support for [JSTransformers](https://github.com/jstransformers/jstransformer).
[](https://travis-ci.org/jstransformers/jstransformer-just)
[](https://codecov.io/gh/jstransformers/jstransformer-just)
[](http://david-dm.org/jstransformers/jstransformer-just)
[](https://www.npmjs.org/package/jstransformer-just)
## Installation
npm install jstransformer-just
## API
```js
var just = require('jstransformer')(require('jstransformer-just'))
just.renderAsync('Hello, <%= name %>!', { name: 'World' }, function (err, data) {
data.body
//=> 'Hello, World!'
})
```
## License
MIT