faith

0.0.3 • Public • Published

faith

Provides a basic wrapper over Promise.all() returning an object instead of an array..

Current usage:

var Faith = require('faith')

var testOfFaith = new Faith;

testOfFaith.believe('firstPromise', promiseNumberOne)
testOfFaith.believe('secondPromise', promiseNumberTwo)

testOfFaith.manifest().then(
  function(resultObject){
    var resultsOfFirstPromise = resultsObject.firstPromise;
    var resultsOfSecondPromise = resultsObject.secondPromise;
  }
)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i faith

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • silasm