https://github.com/jstransformers/jstransformer-htmling
HTMLing support for JSTransformers.
https://github.com/jstransformers/jstransformer-htmling
Last synced: over 1 year ago
JSON representation
HTMLing support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-htmling
- Owner: jstransformers
- License: mit
- Created: 2015-08-01T13:27:44.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T02:14:39.000Z (about 6 years ago)
- Last Synced: 2025-02-25T16:41:15.360Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-htmling
- Size: 49.8 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-htmling
[HTMLing](https://github.com/codemix/htmling) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-htmling)
[](https://codecov.io/gh/jstransformers/jstransformer-htmling)
[](http://david-dm.org/jstransformers/jstransformer-htmling)
[](https://www.npmjs.org/package/jstransformer-htmling)
## Installation
npm install jstransformer-htmling
## API
```js
var htmling = require('jstransformer')(require('jstransformer-htmling'))
htmling.render('
Hello, {{title}}!
', { name: 'World' }).body
//=> 'Hello, World!
'
```
## License
MIT