helper-compile-async v0.1.0
helper-compile-async

Convenience method to compile async helpers and add common functionality to use with async-helpers.
Install
Install with npm:
$ npm install --save helper-compile-asyncUsage
var compile = require('helper-compile-async');API
compile
Compile a helper function to add convenience methods for working with async-helpers.
Params
helper{Function}: Helper function to be called with a modifiedoptions.fnandoptions.inversefunction if available.returns{Function}: Compiled helper function suitable to be registered with a template engine.
Example
// ensures that asyncHelpers.resolveIds is called on the
// rendered content from `options.fn` before returning
var helper = compile(function(options, cb) {
return options.fn(this, cb);
});About
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
Building docs
(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)
To generate the readme, run the following command:
$ npm install -g verbose/verb#dev verb-generate-readme && verbRunning tests
Install dev dependencies:
$ npm install && npm testAuthor
Brian Woodward
License
Copyright © 2017, Brian Woodward. MIT
This file was generated by verb-generate-readme, v0.4.2, on February 05, 2017.
9 years ago