Skip to content

sparkbox/downpour

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors