https://github.com/jstransformers/jstransformer-hogan
Hogan support for JS Transformers.
https://github.com/jstransformers/jstransformer-hogan
Last synced: over 1 year ago
JSON representation
Hogan support for JS Transformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-hogan
- Owner: jstransformers
- License: mit
- Created: 2015-02-17T09:32:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T03:07:14.000Z (about 6 years ago)
- Last Synced: 2025-02-25T11:41:32.085Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npmjs.com/jstransformer-hogan
- Size: 53.7 KB
- Stars: 2
- 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-hogan
[Hogan.js](https://www.npmjs.com/package/hogan.js) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-hogan)
[](https://codecov.io/gh/jstransformers/jstransformer-hogan)
[](http://david-dm.org/jstransformers/jstransformer-hogan)
[](https://www.npmjs.org/package/jstransformer-hogan)
## Installation
npm install jstransformer-hogan
## API
```js
var hogan = require('jstransformer')(require('jstransformer-hogan'))
hogan.render('Hello @{{name}}!', {name: 'World'}).body
//=> 'Hello World!'
```
## License
MIT