https://github.com/jstransformers/jstransformer-liquor
Liquor support for JSTransformers
https://github.com/jstransformers/jstransformer-liquor
Last synced: 11 months ago
JSON representation
Liquor support for JSTransformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-liquor
- Owner: jstransformers
- License: mit
- Created: 2015-02-24T04:05:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T03:08:11.000Z (about 6 years ago)
- Last Synced: 2025-06-20T11:07:10.625Z (12 months ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-liquor
- Size: 53.7 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-liquor
[Liquor](https://github.com/chjj/liquor) support for [JSTransformers](https://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-liquor)
[](https://codecov.io/gh/jstransformers/jstransformer-liquor)
[](http://david-dm.org/jstransformers/jstransformer-liquor)
[](https://www.npmjs.org/package/jstransformer-liquor)
## Installation
npm install jstransformer-liquor
## API
```js
var liquor = require('jstransformer')(require('jstransformer-liquor'))
var locals = {
name: "World"
}
liquor.render('Hello, #{name}!', locals).body
//=> 'Hello, World!'
```
## License
MIT