@lund-org/cherry-pug-connector

0.0.4 • Public • Published

Cherry Pug Connector

Build Status Maintainability Test Coverage

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

Installation

Use the package manager npm to install Cherry Pug Connector.

npm install @lund-org/cherry-pug-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 CherryPugConnector = require('@lund-org/cherry-pug-connector')

const options = {
  ...
  plugins: [CherryPugConnector]
  ...
}

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

Package Sidebar

Install

npm i @lund-org/cherry-pug-connector

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

6.42 kB

Total Files

6

Last publish

Collaborators

  • jumastro
  • lund
  • lund-deploy