@sparkbox/downpour

0.0.13 • Public • Published

Downpour

Sparkbox implementation of drizzle-builder.

Usage

Downpour exposes the drizzle-builder as a function to compile handlebars templates into HTML.

All drizzle-builder options are valid.

Downpour includes a few handlebars helpers by default:

To add additional helpers create a helpers key in the options object like so:

import downpour from '@sparkbox/downpour';
import { myHelperFunc } from 'my-helper-package';

const opts = {
  helpers: {
    myHelper: myHelperFunc,
  },
};

downpour(opts, cb);

Publishing to NPM

See contributing docs.

Readme

Keywords

none

Package Sidebar

Install

npm i @sparkbox/downpour

Weekly Downloads

3

Version

0.0.13

License

ISC

Unpacked Size

71.9 kB

Total Files

5

Last publish

Collaborators

  • jon-sbx
  • catheraaine
  • kaseybon
  • flotsam