Name: helper-compile-async
Owner: Helpers
Description: Convenience method to compile async helpers and add common functionality to use with async-helpers.
Created: 2017-02-06 03:08:13.0
Updated: 2017-08-16 20:19:17.0
Pushed: 2017-02-06 03:08:42.0
Homepage: https://github.com/helpers/helper-compile-async
Size: 10
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Convenience method to compile async helpers and add common functionality to use with async-helpers.
Install with npm:
m install --save helper-compile-async
compile = require('helper-compile-async');
Compile a helper function to add convenience methods for working with async-helpers.
Params
helper
{Function}: Helper function to be called with a modified options.fn
and options.inverse
function if available.returns
{Function}: Compiled helper function suitable to be registered with a template engine.Example
nsures that asyncHelpers.resolveIds is called on the
endered content from `options.fn` before returning
helper = compile(function(options, cb) {
turn options.fn(this, cb);
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.
(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:
m install -g verbose/verb#dev verb-generate-readme && verb
Install dev dependencies:
m install && npm test
Brian Woodward
Copyright © 2017, Brian Woodward. MIT
This file was generated by verb-generate-readme, v0.4.2, on February 05, 2017.