https://github.com/jstransformers/jstransformer-slm
slm support for JS Transformers
https://github.com/jstransformers/jstransformer-slm
Last synced: 12 months ago
JSON representation
slm support for JS Transformers
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-slm
- Owner: jstransformers
- License: mit
- Created: 2015-04-14T07:14:11.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T02:16:31.000Z (about 6 years ago)
- Last Synced: 2025-05-16T09:49:16.853Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://npm.im/jstransformer-slm
- Size: 52.7 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-slm
[Slm](https://github.com/slm-lang/slm) support for [JSTransformers](http://github.com/jstransformers).
[](https://travis-ci.org/jstransformers/jstransformer-slm)
[](https://codecov.io/gh/jstransformers/jstransformer-slm)
[](http://david-dm.org/jstransformers/jstransformer-slm)
[](https://www.npmjs.org/package/jstransformer-slm)
## Installation
npm install jstransformer-slm
## API
```js
var slm = require('jstransformer')(require('jstransformer-slm'))
slm.render('p Hello, ${this.name}!', {"name": "World"}).body
//=> '
Hello, World!
'
```
## License
MIT