Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@sparkbox/downpour

Package Overview
Dependencies
Maintainers
21
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sparkbox/downpour

Sparkbox implementation of drizzle-builder

Source
npmnpm
Version
0.0.12
Version published
Weekly downloads
0
-100%
Maintainers
21
Weekly downloads
 
Created
Source

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:

const downpour = require('downpour');
const { myHelperFunc } = require('my-helper-package');

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

downpour(opts, cb);

Publishing to NPM

  • Update the version number in package.json using semantic versioning.
  • Run npm install to update package-lock.json and commit both files.
  • Pull down the latest version of master and run npm publish.

FAQs

Package last updated on 02 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts