Skip to content

Use async helpers in template engines like Handlebars and Lodash

License

Notifications You must be signed in to change notification settings

doowb/async-helpers

Repository files navigation

async-helpers NPM version NPM monthly downloads NPM total downloads Linux Build Status Windows Build Status

Use async helpers in templates with engines that typically only handle sync helpers. Handlebars and Lodash have been tested.

Install

Install with npm:

$ npm install --save async-helpers

Install with yarn:

$ yarn add async-helpers

Usage

var asyncHelpers = require('async-helpers');

API

Create a new instance of AsyncHelpers

Params

  • options {Object}: options to pass to instance
  • returns {Object}: new AsyncHelpers instance

Example