Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Lund-Org/cherry-handlebars-connector

Repository files navigation

Cherry Handlebars Connector

Build Status Maintainability Test Coverage

A plugin to use handlebars as the html renderer in cherry 🍒

Installation

Use the package manager npm to install Cherry Handlebars Connector.

npm install @lund-org/cherry-handlebars-connector

Usage

Checkout the example in the example folder of cherry. Of course, you need a cherry app to use this connector :

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