waterfall-start

1.0.0 • Public • Published

waterfall-start

build status Davis Dependency status

NPM

Helper to pass arguments at the start of an async waterfall.

Example

var waterfall = require('run-waterfall');
var start = require('waterfall-start');
 
waterfall([
  start('foo', 'bar')
], function onComplete(err, arg1, arg2) {
  // arg1 === 'foo'
  // arg2 === 'bar'
});

Installation

npm install waterfall-start

Tests

npm test

NPM scripts

  • npm run cover This runs the tests with code coverage
  • npm run lint This will run the linter on your code
  • npm test This will run the tests.
  • npm run trace This will run your tests in tracing mode.
  • npm run travis This is run by travis.CI to run your tests
  • npm run view-cover This will show code coverage in a browser

Contributors

  • Matt Morgan

MIT Licenced

Readme

Keywords

none

Package Sidebar

Install

npm i waterfall-start

Weekly Downloads

0

Version

1.0.0

License

none

Last publish

Collaborators

  • mlmorg