Socket
Book a DemoInstallSign in
Socket

@sparkbox/downpour

Package Overview
Dependencies
Maintainers
4
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

0.0.13
latest
Source
npmnpm
Version published
Maintainers
4
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:

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.

FAQs

Package last updated on 22 Mar 2024

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.