https://github.com/jstransformers/jstransformer-ejs
EJS support for JSTransformers.
https://github.com/jstransformers/jstransformer-ejs
Last synced: about 1 year ago
JSON representation
EJS support for JSTransformers.
- Host: GitHub
- URL: https://github.com/jstransformers/jstransformer-ejs
- Owner: jstransformers
- License: mit
- Created: 2015-02-12T02:45:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T02:10:10.000Z (about 2 years ago)
- Last Synced: 2024-10-19T11:11:04.267Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://npmjs.com/jstransformer-ejs
- Size: 430 KB
- Stars: 2
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# jstransformer-ejs
[EJS](https://github.com/mde/ejs) support for [JSTransformers](http://github.com/jstransformers).
[![Build Status][ci-badge]][ci-url]
[](https://codecov.io/gh/jstransformers/jstransformer-ejs)
[](https://www.npmjs.org/package/jstransformer-ejs)
## Installation
npm install jstransformer-ejs
## API
```js
var ejs = require('jstransformer')(require('jstransformer-ejs'))
ejs.render('Hello <%= name %>!', {name: 'World'}).body
//=> 'Hello World!'
```
## License
MIT
[ci-badge]: https://github.com/jstransformers/jstransformer-ejs/actions/workflows/test.yml/badge.svg
[ci-url]: https://github.com/jstransformers/jstransformer-ejs/actions/workflows/test.yml