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;
  }
)

Readme

Keywords

Package Sidebar

Install

npm i faith

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • silasm