Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-12T14:38:04.000Z (over 3 years ago)
- Last Synced: 2024-09-29T07:41:47.382Z (3 months ago)
- Topics: cherry, cherry-handlebars-connector, connector, handlebars, html-renderer
- Language: JavaScript
- Size: 314 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Cherry Handlebars Connector
[![Build Status](https://travis-ci.com/Lund-Org/cherry-handlebars-connector.svg?branch=master)](https://travis-ci.com/Lund-Org/cherry-handlebars-connector) [![Maintainability](https://api.codeclimate.com/v1/badges/88259eabd94df27161bd/maintainability)](https://codeclimate.com/github/Lund-Org/cherry-handlebars-connector/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/88259eabd94df27161bd/test_coverage)](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)