https://github.com/lund-org/cherry-handlebars-connector
A plugin to use handlebars as the html renderer
https://github.com/lund-org/cherry-handlebars-connector
cherry cherry-handlebars-connector connector handlebars html-renderer
Last synced: 9 months ago
JSON representation
A plugin to use handlebars as the html renderer
- Host: GitHub
- URL: https://github.com/lund-org/cherry-handlebars-connector
- Owner: Lund-Org
- License: mit
- Archived: true
- Created: 2018-12-28T10:32:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-12T14:38:04.000Z (about 5 years ago)
- Last Synced: 2025-08-28T16:34:41.465Z (10 months ago)
- Topics: cherry, cherry-handlebars-connector, connector, handlebars, html-renderer
- Language: JavaScript
- Size: 314 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Cherry Handlebars Connector
[](https://travis-ci.com/Lund-Org/cherry-handlebars-connector) [](https://codeclimate.com/github/Lund-Org/cherry-handlebars-connector/maintainability) [](https://codeclimate.com/github/Lund-Org/cherry-handlebars-connector/test_coverage)
A plugin to use [handlebars](https://github.com/wycats/handlebars.js/) as the html renderer in cherry 🍒
## Installation
Use the package manager [npm](http://npmjs.com) to install Cherry Handlebars Connector.
```bash
npm install @lund-org/cherry-handlebars-connector
```
## Usage
Checkout the example in the [example folder of cherry](https://github.com/Lund-Org/cherry/tree/master/example/02-multiple-response-type/).
Of course, you need a cherry app to use this connector :
```javascript
const Cherry = require('@lund-org/cherry')
const CherryHandlebarsConnector = require('@lund-org/cherry-handlebars-connector')
const options = {
...
plugins: [CherryHandlebarsConnector]
...
}
const cherry = new Cherry()
cherry.configure(options)
cherry.start(options)
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://github.com/Lund-Org/cherry-handlebars-connector/blob/master/LICENSE)