{"_id":"promish","_rev":"3218569","name":"promish","description":"ES6 Promise Shim","dist-tags":{"beta":"4.2.13","latest":"5.1.1"},"maintainers":[{"name":"guyonroche","email":""}],"time":{"modified":"2024-03-21T07:20:36.000Z","created":"2015-08-12T18:40:26.629Z","5.1.1":"2018-07-23T12:58:59.822Z","5.1.0":"2018-07-23T12:23:29.608Z","5.0.3":"2018-04-12T12:05:23.975Z","5.0.2":"2017-03-16T08:39:07.794Z","5.0.1":"2017-03-08T08:42:25.680Z","5.0.0":"2017-03-07T08:24:28.989Z","4.2.13":"2017-03-07T07:41:08.379Z","4.2.12":"2017-03-06T20:12:13.785Z","4.2.11":"2017-03-06T08:31:17.102Z","4.2.10":"2017-03-03T08:28:25.466Z","4.2.9":"2017-03-01T08:57:56.743Z","4.2.8":"2016-04-14T09:01:50.289Z","4.2.7":"2015-11-09T17:58:00.448Z","4.2.6":"2015-11-07T11:16:06.036Z","4.2.5":"2015-11-05T22:35:19.748Z","4.2.4":"2015-11-04T18:02:47.496Z","4.2.3":"2015-11-03T19:54:13.976Z","4.2.2":"2015-10-28T17:35:28.119Z","4.2.1":"2015-10-24T18:19:07.332Z","0.0.8":"2015-09-07T16:27:54.739Z","0.0.7":"2015-09-03T07:15:32.950Z","0.0.6":"2015-09-03T06:39:06.348Z","0.0.5":"2015-08-29T16:39:28.075Z","0.0.4":"2015-08-24T19:36:29.748Z","0.0.3":"2015-08-19T20:10:59.322Z","0.0.2":"2015-08-18T21:18:09.198Z","0.0.1":"2015-08-12T18:40:26.629Z"},"users":{},"author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"versions":{"5.1.1":{"name":"promish","version":"5.1.1","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jasmine":"^1.1.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","pinkie":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","test":"npm run unit-test && npm run browser-test","unit-test":"mocha spec/unit","browser-test":"grunt jasmine","preversion":"npm run clean-build && npm run test","postversion":"git push --no-verify && git push --tags --no-verify"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"ecc1e87c593a69996b89abb8334d391eba7c44b0","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@5.1.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"guyonroche","email":"guyon@live.com"},"dist":{"shasum":"a5fdfc508d1233087cda33f1bb27b23d5b46d70f","size":25993,"noattachment":false,"key":"/promish/-/promish-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-5.1.1.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promish_5.1.1_1532350739715_0.631396697045165"},"_hasShrinkwrap":false,"publish_time":1532350739822,"_cnpm_publish_time":1532350739822,"_cnpmcore_publish_time":"2021-12-16T10:32:10.104Z"},"5.1.0":{"name":"promish","version":"5.1.0","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jasmine":"^1.1.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","pinkie":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","test":"npm run unit-test && npm run browser-test","unit-test":"mocha spec/unit","browser-test":"grunt jasmine","preversion":"npm run clean-build && npm run test","postversion":"git push --no-verify && git push --tags --no-verify"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"3c941dc318e0763bf7def4c5776433d1aa75a232","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@5.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"guyonroche","email":"guyon@live.com"},"dist":{"shasum":"fd96986dcbe38b24c7881a7019ffcce621dd66c6","size":26006,"noattachment":false,"key":"/promish/-/promish-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-5.1.0.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promish_5.1.0_1532348609537_0.06448021668246229"},"_hasShrinkwrap":false,"publish_time":1532348609608,"_cnpm_publish_time":1532348609608,"_cnpmcore_publish_time":"2021-12-16T10:32:10.724Z"},"5.0.3":{"name":"promish","version":"5.0.3","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jasmine":"^1.1.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","pinkie":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run clean-build","test":"npm run unit-test && npm run browser-test","unit-test":"mocha spec/unit","browser-test":"grunt jasmine"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"4c8c6c13ac6b81f1833c0cd8bfe1398eb63ead30","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@5.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"guyonroche","email":"guyon@live.com"},"dist":{"shasum":"d2604a2f403c68036f5ae472d865edfbc87b0a6e","size":25703,"noattachment":false,"key":"/promish/-/promish-5.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-5.0.3.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promish_5.0.3_1523534723876_0.9139741346007713"},"_hasShrinkwrap":false,"publish_time":1523534723975,"_cnpm_publish_time":1523534723975,"_cnpmcore_publish_time":"2021-12-16T10:32:10.981Z"},"5.0.2":{"name":"promish","version":"5.0.2","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jasmine":"^1.1.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","pinkie":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run clean-build","test":"npm run unit-test && npm run browser-test","unit-test":"mocha spec/unit","browser-test":"grunt jasmine"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"20d2c6b5f5d6d14c5df8907b8ef2e5adc23cc60d","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@5.0.2","_shasum":"2546a86c79d91408ab40e9d86c88963ea4c7e9b8","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"dist":{"shasum":"2546a86c79d91408ab40e9d86c88963ea4c7e9b8","size":24972,"noattachment":false,"key":"/promish/-/promish-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-5.0.2.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/promish-5.0.2.tgz_1489653545720_0.7182920286431909"},"directories":{},"publish_time":1489653547794,"_hasShrinkwrap":false,"_cnpm_publish_time":1489653547794,"_cnpmcore_publish_time":"2021-12-16T10:32:11.207Z"},"5.0.1":{"name":"promish","version":"5.0.1","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-jasmine":"^1.1.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","pinkie":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run clean-build","test":"npm run unit-test && npm run browser-test","unit-test":"mocha spec/unit","browser-test":"grunt jasmine"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"20d2c6b5f5d6d14c5df8907b8ef2e5adc23cc60d","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@5.0.1","_shasum":"af9b4127153d932161918dbd19eb2ebbba72b42e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"dist":{"shasum":"af9b4127153d932161918dbd19eb2ebbba72b42e","size":24973,"noattachment":false,"key":"/promish/-/promish-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-5.0.1.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/promish-5.0.1.tgz_1488962545086_0.6202528809662908"},"directories":{},"publish_time":1488962545680,"_hasShrinkwrap":false,"_cnpm_publish_time":1488962545680,"_cnpmcore_publish_time":"2021-12-16T10:32:11.421Z"},"5.0.0":{"name":"promish","version":"5.0.0","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-browser":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run clean-build","test":"mocha spec"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"a3d46494506a1ff8b041345c9f688385ca08c623","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@5.0.0","_shasum":"3a6973cd31e95830500e8740f6c24c2157331f1a","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"dist":{"shasum":"3a6973cd31e95830500e8740f6c24c2157331f1a","size":24789,"noattachment":false,"key":"/promish/-/promish-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-5.0.0.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/promish-5.0.0.tgz_1488875066740_0.5755433947779238"},"directories":{},"publish_time":1488875068989,"_hasShrinkwrap":false,"_cnpm_publish_time":1488875068989,"_cnpmcore_publish_time":"2021-12-16T10:32:12.060Z"},"4.2.13":{"name":"promish","version":"4.2.13","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{"es6-promise":"^3.0.2"},"devDependencies":{"babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-browser":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run clean-build","test":"mocha spec"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"a3d46494506a1ff8b041345c9f688385ca08c623","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.13","_shasum":"7ec29cd0c1ec4c00f2b4e4cbbd6b0943772920a3","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"dist":{"shasum":"7ec29cd0c1ec4c00f2b4e4cbbd6b0943772920a3","size":24789,"noattachment":false,"key":"/promish/-/promish-4.2.13.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.13.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/promish-4.2.13.tgz_1488872467611_0.6838725684210658"},"directories":{},"publish_time":1488872468379,"_hasShrinkwrap":false,"_cnpm_publish_time":1488872468379,"_cnpmcore_publish_time":"2021-12-16T10:32:12.336Z"},"4.2.12":{"name":"promish","version":"4.2.12","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{},"devDependencies":{"babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","es6-promise":"^3.0.2","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-browser":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run clean-build","test":"mocha spec"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"a3d46494506a1ff8b041345c9f688385ca08c623","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.12","_shasum":"4d41e9aa44e1d271c11e466e080b40e6815c3f41","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"dist":{"shasum":"4d41e9aa44e1d271c11e466e080b40e6815c3f41","size":35803,"noattachment":false,"key":"/promish/-/promish-4.2.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.12.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/promish-4.2.12.tgz_1488831131731_0.6235521731432527"},"directories":{},"publish_time":1488831133785,"_hasShrinkwrap":false,"_cnpm_publish_time":1488831133785,"_cnpmcore_publish_time":"2021-12-16T10:32:12.576Z"},"4.2.11":{"name":"promish","version":"4.2.11","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{},"devDependencies":{"babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","es6-promise":"^3.0.2","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-browser":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run clean-build","test":"mocha spec"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"a3d46494506a1ff8b041345c9f688385ca08c623","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.11","_shasum":"823fd1de8bd6789e7adc5dc533d8778f8ec64032","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"dist":{"shasum":"823fd1de8bd6789e7adc5dc533d8778f8ec64032","size":33623,"noattachment":false,"key":"/promish/-/promish-4.2.11.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.11.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/promish-4.2.11.tgz_1488789076474_0.11166891804896295"},"directories":{},"publish_time":1488789077102,"_hasShrinkwrap":false,"_cnpm_publish_time":1488789077102,"_cnpmcore_publish_time":"2021-12-16T10:32:12.799Z"},"4.2.10":{"name":"promish","version":"4.2.10","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"guyon@live.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{},"devDependencies":{"babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","browserify-shim":"^3.8.13","chai":"*","es6-promise":"^3.0.2","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-browser":"grunt build","build-es5":"grunt es5","clean":"rm -rf build/* && rm -rf dist/*","clean-build":"npm run clean && npm run build","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run clean-build","test":"mocha spec"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"a3d46494506a1ff8b041345c9f688385ca08c623","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.10","_shasum":"bc1438c71c6567e4b21d54676d1d45be3280f9ab","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"dist":{"shasum":"bc1438c71c6567e4b21d54676d1d45be3280f9ab","size":23064,"noattachment":false,"key":"/promish/-/promish-4.2.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.10.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/promish-4.2.10.tgz_1488529704607_0.7749397184234113"},"directories":{},"publish_time":1488529705466,"_hasShrinkwrap":false,"_cnpm_publish_time":1488529705466,"_cnpmcore_publish_time":"2021-12-16T10:32:13.018Z"},"4.2.9":{"name":"promish","version":"4.2.9","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply","map","reduce"],"engines":{"node":">=6.0.0"},"dependencies":{},"devDependencies":{"babel-preset-es2015":"^6.22.0","bluebird":"*","browserify":"^14.1.0","chai":"*","es6-promise":"^3.0.2","grunt":"^1.0.1","grunt-babel":"^6.0.0","grunt-browserify":"^5.0.0","grunt-contrib-concat":"^1.0.1","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^2.1.0","grunt-contrib-watch":"^1.0.0","jshint":"2.8.x","mocha":"*","q":"*","uglifyjs":"^2.4.10"},"scripts":{"build":"grunt build","build-browser":"grunt build","build-es5":"grunt es5","jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","prepublish":"npm run build","test":"mocha spec"},"main":"lib/promish.js","files":["lib","dist","LICENSE","README.md"],"gitHead":"a3d46494506a1ff8b041345c9f688385ca08c623","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.9","_shasum":"d4811d95c4630eda828009bfe21e7ec29c02e19e","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"dist":{"shasum":"d4811d95c4630eda828009bfe21e7ec29c02e19e","size":23583,"noattachment":false,"key":"/promish/-/promish-4.2.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.9.tgz"},"maintainers":[{"name":"guyonroche","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/promish-4.2.9.tgz_1488358676083_0.5219699409790337"},"directories":{},"publish_time":1488358676743,"_hasShrinkwrap":false,"_cnpm_publish_time":1488358676743,"_cnpmcore_publish_time":"2021-12-16T10:32:13.247Z"},"4.2.8":{"name":"promish","version":"4.2.8","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"bluebird":"*","chai":"*","jshint":"2.8.x","mocha":"*","q":"*"},"scripts":{"jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"744bdd3d032fb4f5c0cb620a57dfb0de82731f50","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.8","_shasum":"a563e3a3eaa532c331d200b978f05a5257d00a1b","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"a563e3a3eaa532c331d200b978f05a5257d00a1b","size":6500,"noattachment":false,"key":"/promish/-/promish-4.2.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.8.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/promish-4.2.8.tgz_1460624508055_0.26969405612908304"},"directories":{},"publish_time":1460624510289,"_hasShrinkwrap":false,"_cnpm_publish_time":1460624510289,"_cnpmcore_publish_time":"2021-12-16T10:32:13.437Z"},"4.2.7":{"name":"promish","version":"4.2.7","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"bluebird":"*","chai":"*","jshint":"2.8.x","mocha":"*","q":"*"},"scripts":{"jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"ef48051ebef65311f1b21adc33cbc3fa9953496f","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.7","_shasum":"fc1edfcc3d59c11216bb3b0885637262c6a0872e","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"fc1edfcc3d59c11216bb3b0885637262c6a0872e","size":6428,"noattachment":false,"key":"/promish/-/promish-4.2.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.7.tgz"},"directories":{},"publish_time":1447091880448,"_hasShrinkwrap":false,"_cnpm_publish_time":1447091880448,"_cnpmcore_publish_time":"2021-12-16T10:32:13.651Z"},"4.2.6":{"name":"promish","version":"4.2.6","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","some","spread","Promisify","Promisification","call","apply"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"bluebird":"*","chai":"*","jshint":"2.8.x","mocha":"*","q":"*"},"scripts":{"jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"da21931c4d4f9e77a58025fb847624c9f4cb7136","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.6","_shasum":"17bcb43a3769b086fb4612250dd7c580fe709cd9","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"17bcb43a3769b086fb4612250dd7c580fe709cd9","size":6321,"noattachment":false,"key":"/promish/-/promish-4.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.6.tgz"},"directories":{},"publish_time":1446894966036,"_hasShrinkwrap":false,"_cnpm_publish_time":1446894966036,"_cnpmcore_publish_time":"2021-12-16T10:32:13.963Z"},"4.2.5":{"name":"promish","version":"4.2.5","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","Promisification","call","apply"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"bluebird":"*","chai":"*","jshint":"2.8.x","mocha":"*","q":"*"},"scripts":{"jshint":"npm run jshint-lib & npm run jshint-spec","jshint-lib":"node node_modules/jshint/bin/jshint --config ./.jshintrc ./lib --verbose","jshint-spec":"node node_modules/jshint/bin/jshint --config ./.jshintrc-spec ./spec --verbose","test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"d30727a2580a15654c0c3467fc8526f479ec337b","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.5","_shasum":"194a3402aedbbff69820f53540698a4e0ad99ba7","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"194a3402aedbbff69820f53540698a4e0ad99ba7","size":6296,"noattachment":false,"key":"/promish/-/promish-4.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.5.tgz"},"directories":{},"publish_time":1446762919748,"_cnpm_publish_time":1446762919748,"_cnpmcore_publish_time":"2021-12-16T10:32:14.230Z"},"4.2.4":{"name":"promish","version":"4.2.4","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","Promisification","call","apply"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"3180f84e58b9739bbe23556c8588eea4faedb4e0","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.4","_shasum":"9259851170e295f04caffc3320e1545c0a665905","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"9259851170e295f04caffc3320e1545c0a665905","size":2985,"noattachment":false,"key":"/promish/-/promish-4.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.4.tgz"},"directories":{},"publish_time":1446660167496,"_hasShrinkwrap":false,"_cnpm_publish_time":1446660167496,"_cnpmcore_publish_time":"2021-12-16T10:32:14.482Z"},"4.2.3":{"name":"promish","version":"4.2.3","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","Promisification","call","apply"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"05d227634cf95c1b88c2b0bc3c193b8114613961","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.3","_shasum":"7baf77a506b2ffaa920203ca7a582f363bf6af83","_from":".","_npmVersion":"3.3.6","_nodeVersion":"5.0.0","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"7baf77a506b2ffaa920203ca7a582f363bf6af83","size":2970,"noattachment":false,"key":"/promish/-/promish-4.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.3.tgz"},"directories":{},"publish_time":1446580453976,"_hasShrinkwrap":false,"_cnpm_publish_time":1446580453976,"_cnpmcore_publish_time":"2021-12-16T10:32:14.714Z"},"4.2.2":{"name":"promish","version":"4.2.2","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","Promisification","call","apply"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"c2b6be3734eab1cad5ebf4d72421e293f7030d23","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.2","_shasum":"8b0685409ac15c1a486a92fe3837c309f8378b2b","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"8b0685409ac15c1a486a92fe3837c309f8378b2b","size":6109,"noattachment":false,"key":"/promish/-/promish-4.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.2.tgz"},"directories":{},"publish_time":1446053728119,"_hasShrinkwrap":false,"_cnpm_publish_time":1446053728119,"_cnpmcore_publish_time":"2021-12-16T10:32:14.916Z"},"4.2.1":{"name":"promish","version":"4.2.1","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","Promisification","call","apply"],"engines":{"node":">=4.0.0"},"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"24cc5ccb4f30b35e65731d4a5cfb3a85bc850213","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@4.2.1","_shasum":"778c85aab24e207ed7d0e15059423bd718fa0721","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"778c85aab24e207ed7d0e15059423bd718fa0721","size":3173,"noattachment":false,"key":"/promish/-/promish-4.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-4.2.1.tgz"},"directories":{},"publish_time":1445710747332,"_hasShrinkwrap":false,"_cnpm_publish_time":1445710747332,"_cnpmcore_publish_time":"2021-12-16T10:32:15.235Z"},"0.0.8":{"name":"promish","version":"0.0.8","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","Promisification","call","apply"],"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"7f97e08b096d4dd43e80cb282fd8d324750675fc","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@0.0.8","_shasum":"d38abb6e25e635f4566038d2c16836b6f0242436","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"d38abb6e25e635f4566038d2c16836b6f0242436","size":6155,"noattachment":false,"key":"/promish/-/promish-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-0.0.8.tgz"},"directories":{},"publish_time":1441643274739,"_hasShrinkwrap":false,"_cnpm_publish_time":1441643274739,"_cnpmcore_publish_time":"2021-12-16T10:32:15.533Z"},"0.0.7":{"name":"promish","version":"0.0.7","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","Promisification","call","apply"],"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"687d360ef8f181acc322ff0ddcee2e48a84102ec","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@0.0.7","_shasum":"1fda165e27460be7e2ba34df3cc5c8776b541d50","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"1fda165e27460be7e2ba34df3cc5c8776b541d50","size":6054,"noattachment":false,"key":"/promish/-/promish-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-0.0.7.tgz"},"directories":{},"publish_time":1441264532950,"_hasShrinkwrap":false,"_cnpm_publish_time":1441264532950,"_cnpmcore_publish_time":"2021-12-16T10:32:15.760Z"},"0.0.6":{"name":"promish","version":"0.0.6","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","resolve","reject","then","catch","finally","race","all","any","Promisification","call","apply"],"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"fa881122e4948b0ee7d449f9a25039e0b326d3ef","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@0.0.6","_shasum":"23236abd0c952fe37bd335e60ad29d4f3d0969de","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"23236abd0c952fe37bd335e60ad29d4f3d0969de","size":6054,"noattachment":false,"key":"/promish/-/promish-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-0.0.6.tgz"},"directories":{},"publish_time":1441262346348,"_hasShrinkwrap":false,"_cnpm_publish_time":1441262346348,"_cnpmcore_publish_time":"2021-12-16T10:32:16.024Z"},"0.0.5":{"name":"promish","version":"0.0.5","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim","EcmaScript","Promises","then","catch","finally","race","all","any"],"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"aab8265dad709b3d9e35a8d1b3f07b042f4069b3","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@0.0.5","_shasum":"4c309a3de5b20d471d13afee5e530cbfcf6f31f6","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"4c309a3de5b20d471d13afee5e530cbfcf6f31f6","size":5599,"noattachment":false,"key":"/promish/-/promish-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-0.0.5.tgz"},"directories":{},"publish_time":1440866368075,"_hasShrinkwrap":false,"_cnpm_publish_time":1440866368075,"_cnpmcore_publish_time":"2021-12-16T10:32:16.280Z"},"0.0.4":{"name":"promish","version":"0.0.4","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim"],"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"cfb2ad580c570d345db2dacb789cb59b9a0c11a7","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@0.0.4","_shasum":"b22fc71d9e135ed73031abdac92f4e901658b6d4","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"b22fc71d9e135ed73031abdac92f4e901658b6d4","size":3650,"noattachment":false,"key":"/promish/-/promish-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-0.0.4.tgz"},"directories":{},"publish_time":1440444989748,"_hasShrinkwrap":false,"_cnpm_publish_time":1440444989748,"_cnpmcore_publish_time":"2021-12-16T10:32:16.488Z"},"0.0.3":{"name":"promish","version":"0.0.3","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/promish.git"},"keywords":["ES6","Promise","Shim"],"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*","bluebird":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"14508775fbcb0b50931f072a3fffca009e997329","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"homepage":"https://github.com/guyonroche/promish#readme","_id":"promish@0.0.3","_shasum":"20b23e971c50f79e871aefff0e416c8d9eca3c66","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"20b23e971c50f79e871aefff0e416c8d9eca3c66","size":3362,"noattachment":false,"key":"/promish/-/promish-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-0.0.3.tgz"},"directories":{},"publish_time":1440015059322,"_hasShrinkwrap":false,"_cnpm_publish_time":1440015059322,"_cnpmcore_publish_time":"2021-12-16T10:32:16.709Z"},"0.0.2":{"name":"promish","version":"0.0.2","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/exceljs.git"},"keywords":["ES6","Promise","Shim"],"dependencies":{},"devDependencies":{"chai":"*","mocha":"*","q":"*"},"scripts":{"test":"mocha spec --verbose"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"3e326907bc23202ae4d119a302a180e8f3502f92","bugs":{"url":"https://github.com/guyonroche/exceljs/issues"},"homepage":"https://github.com/guyonroche/exceljs#readme","_id":"promish@0.0.2","_shasum":"3966e6d7b7e00dc47ed3aeb92cc491adc6067214","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"3966e6d7b7e00dc47ed3aeb92cc491adc6067214","size":3168,"noattachment":false,"key":"/promish/-/promish-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-0.0.2.tgz"},"directories":{},"publish_time":1439932689198,"_hasShrinkwrap":false,"_cnpm_publish_time":1439932689198,"_cnpmcore_publish_time":"2021-12-16T10:32:16.935Z"},"0.0.1":{"name":"promish","version":"0.0.1","description":"ES6 Promise Shim","private":false,"license":"MIT","author":{"name":"Guyon Roche","email":"cyber.sapiens@hotmail.com","url":"https://github.com/guyonroche/promish"},"repository":{"type":"git","url":"git+https://github.com/guyonroche/exceljs.git"},"keywords":["ES6","Promise","Shim"],"dependencies":{},"devDependencies":{"chai":"*","mocha":"*"},"scripts":{"test":"mocha spec"},"main":"lib/promish.js","files":["lib","LICENSE","README.md"],"gitHead":"7ba3572cf60f605d0758a4f9bb9dd2f6376cf840","bugs":{"url":"https://github.com/guyonroche/exceljs/issues"},"homepage":"https://github.com/guyonroche/exceljs#readme","_id":"promish@0.0.1","_shasum":"10362fdb3d27427ba1be0aacfe685bee5d365663","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"guyonroche","email":"cyber.sapiens@hotmail.com"},"maintainers":[{"name":"guyonroche","email":""}],"dist":{"shasum":"10362fdb3d27427ba1be0aacfe685bee5d365663","size":2281,"noattachment":false,"key":"/promish/-/promish-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promish/download/promish-0.0.1.tgz"},"directories":{},"publish_time":1439404826629,"_hasShrinkwrap":false,"_cnpm_publish_time":1439404826629,"_cnpmcore_publish_time":"2021-12-16T10:32:17.151Z"}},"readme":"# Promish\r\n\r\n```javascript\r\n     SH\r\n      I\r\nP R O M\r\n```\r\n\r\nThe Promish module creates a wrapper around the EcmaScript 6 Promise class (and others).\r\n It adds some of the useful features found in many of the other popular promise libraries such as Q and Bluebird.\r\n It is designed to be interchangeable with the ES6 Promise as its interface is a superset of the Promise class.\r\n\r\nI have strived to keep this library as small as practicable while offering as much functionality as possible.\r\n  As it stands, the minified browserified bundle is less than 14k!\r\n\r\n# Installation\r\n\r\nnpm install promish\r\n\r\n# New Features!\r\n\r\n<ul>\r\n    <li>\r\n        Browserification\r\n        <ul>\r\n            <li>\r\n                The Promish class has been reworked to allow the base-promise class it extends to be injected\r\n                so that a browser friendly promise can be used for the browserify build. The implementation I\r\n                am using for this is <a href=\"https://www.npmjs.com/package/es6-promise\">es6-promise</a>.\r\n            </li>\r\n            <li>\r\n                The standard Promish implementation (via require('promish') has not been affected and will still\r\n                deliver a Promish class that extends the native Promise.\r\n            </li>\r\n            <li>\r\n                See <a href=\"#browserification\">Browserification</a> for details.\r\n            </li>\r\n        </ul>\r\n    </li>\r\n    <li>\r\n        <a href=\"#map\">map</a>\r\n        <ul>\r\n            <li>map takes an array of values or promises and calls a supplied callback function on each resolved value finally resolving in an array of values</li>\r\n        </ul>\r\n    </li>\r\n    <li>\r\n        <a href=\"#reduce\">reduce</a>\r\n        <ul>\r\n            <li>reduce takes an array of values or promises and calls a supplied callback function on each resolved value in a sequential fashion resolving to a single value</li>\r\n        </ul>\r\n    </li>\r\n</ul>\r\n\r\n# Contents\r\n\r\n<ul>\r\n    <li>\r\n        <a href=\"#interface\">Interface</a>\r\n        <ul>\r\n            <li><a href=\"#include\">Include</a></li>\r\n            <li><a href=\"#instantiation\">Instantiation</a></li>\r\n            <li><a href=\"#then\">Then</a></li>\r\n            <li><a href=\"#catch\">Catch</a></li>\r\n            <li><a href=\"#finally\">Finally</a></li>\r\n            <li>\r\n                <a href=\"#promisification\">Promishification</a>\r\n                <ul>\r\n                    <li><a href=\"#apply\">Apply</a></li>\r\n                    <li><a href=\"#call\">Call</a></li>\r\n                    <li><a href=\"#post\">Post</a></li>\r\n                    <li><a href=\"#invoke\">Invoke</a></li>\r\n                    <li><a href=\"#promisify\">Promisify</a></li>\r\n                    <li><a href=\"#promisify-all\">Promisify All</a></li>\r\n                    <li><a href=\"#method\">Method</a></li>\r\n                </ul>\r\n            </li>\r\n            <li><a href=\"#race\">Race</a></li>\r\n            <li><a href=\"some\">Some</a></li>\r\n            <li><a href=\"#any\">Any</a></li>\r\n            <li><a href=\"#spread\">Spread</a></li>\r\n            <li><a href=\"#map\">Map</a></li>\r\n            <li><a href=\"#reduce\">Reduce</a></li>\r\n        </ul>\r\n    </li>\r\n    <li><a href=\"#browserification\">Browserification</a></li>\r\n    <li><a href=\"#known-issues\">Known Issues</a></li>\r\n    <li><a href=\"#release-history\">Release History</a></li>\r\n</ul>\r\n\r\n# Interface\r\n\r\n## Include\r\n\r\n```javascript\r\nvar Promish = require('promish');\r\n```\r\n\r\n## Instantiation\r\n\r\n### Typical use - construct with handler function\r\n\r\n```javascript\r\nvar promise = new Promish(function(resolve, reject) {\r\n  // do something async\r\n});\r\n```\r\n\r\n### 3rd Party Wrapper Mode\r\n\r\n```javascript\r\nvar promise = new Promish(Q());\r\n\r\nvar promise = new Promish(new Promise( ... ));\r\n```\r\n\r\n### Value Wrapper Mode\r\n```javascript\r\n// If the constructor value is not a function, a thenable or an Error,\r\n// assume it should be a resolve value.\r\nvar promise = new Promish('Resolve Value');\r\n\r\n// To explicitly signal resolve, use Promish.resolve\r\nvar promise = Promish.resolve('Resolve Value');\r\n```\r\n\r\n### Error Wrapper Mode\r\n```javascript\r\n// If the constructor value is an Error type, it will be interpreted as rejection\r\nvar promise = new Promish(new Error('This promise is rejected'));\r\n\r\n// To explicitly signal something is rejection use Promish.reject\r\nvar promise = Promish.reject('This is not an error object, but reject with it anyway')\r\n```\r\n\r\n\r\n\r\n## Then\r\n\r\n```javascript\r\n// typical use\r\npromise\r\n  .then(function(value) {\r\n    // something async has completed with a value\r\n    // here you can return a resolve value,\r\n    // return a new Promish or throw an error (handled as rejection)\r\n  });\r\n  \r\n// with onRejected...\r\npromise.then(\r\n  function(value) {\r\n  },\r\n  function(error) {\r\n  });\r\n```\r\n\r\n## Catch\r\n\r\nThe catch function takes a catch handler that will be called when the promise state is rejected\r\n and is a more elegant way to handle errors than using the second then argument.\r\n\r\n```javascript\r\n// catch all\r\npromise\r\n  .catch(function(error) {\r\n    // Something async has failed with an error.\r\n    // Just like with then(), you can return a resolve value,\r\n    // return a new Promish or throw a new error (handled as rejection)\r\n    // You can also 'rethrow' the error by returning a new Promish\r\n    // with the error\r\n  });\r\n```\r\n\r\nPromishes also support Error type matching\r\n\r\n```javascript\r\nnew Promish(function(resolve, reject) {\r\n    resolve(JSON.parse(text));\r\n  })\r\n  .then(function(json) { ... })\r\n  .catch(SyntaxError, function(error) {\r\n    // only called if error is instanceof SyntaxError\r\n  })\r\n  .catch(function(error) {\r\n    // will be called for other types of error\r\n  });\r\n```\r\n\r\nAnd also support user supplied error match functions\r\n\r\n```javascript\r\nfunction isFooString(value) {\r\n  return ((typeof value) === 'string') && (value.indexOf('foo') >= 0);\r\n}\r\n\r\npromise\r\n  .then(function(value) { ... })\r\n  .catch(isFooString, function(error) {\r\n    // error is a string and contains 'foo'\r\n  })\r\n  .catch(function(error) {\r\n    // called if the not a foo string\r\n  });\r\n```\r\n\r\n## Finally\r\n\r\nA finally handler will be called no matter what state the promise chain gets into.\r\n There are no arguments provided to the finally handler and the downstream promise state will typically reflect\r\n the state of the promise before the finally handler is called.\r\n If the finally handler returns a promise, finally will wait for the promise to resolve before propagating the\r\n incoming promise value.\r\n If the finally handler's promise is rejected, the new rejected state will override the incoming promise state\r\n and the new state will take on the new rejection state of the finally handler's promise.\r\n This will also be the case if the finally handler throws an exception.\r\n\r\n```javascript\r\n// catch all\r\npromise\r\n  .then(function(value) { ... })\r\n  .catch(function(error) { ... })\r\n  .finally(function() {\r\n    // clean stuff up\r\n  })\r\n```\r\n\r\n## Delay\r\n\r\nPause for a number of milliseconds and then continue.\r\n The resolve value will be preserved.\r\n If the promish state is rejected, delay will not delay and will preserve the rejection error\r\n\r\n```javascript\r\ngetAPromish()\r\n  .delay(1000)\r\n  .then(function(value) {\r\n    // continue 1 second later\r\n  })\r\n  .catch(function(error) {\r\n    // there was an error, process immediately\r\n  });\r\n```\r\n\r\n## Defer\r\n\r\nFor compatability with the old Promise.defer() pattern...\r\n\r\n```javascript\r\nfunction readAFile(filename) {\r\n  var deferred = Promish.defer();\r\n  \r\n  fs.readFile(filename, function(error, data) {\r\n    if (error) {\r\n      deferred.reject(error);\r\n    } else {\r\n      deferred.resolve(data);\r\n    }\r\n  });\r\n  \r\n  return deferred.promise;\r\n}\r\n```\r\n\r\n## Promisification Calls\r\n\r\nThe majority of the old asynchronous Node methods follow a basic pattern where the last argument in a function\r\n is a callback function and the first argument of that callback function is used to signal errors -\r\n if the error argument is truthy, then the call failed and the value of the error will indicate why,\r\n otherwise the call succeeded.\r\n\r\nPromisification involves converting the async pattern into promises - either on the fly or by wrapping functions,\r\n methods or even whole objects...\r\n\r\n### Apply\r\n\r\n```javascript\r\n// Note: Promish.nfapply alias included for Q compatability\r\nPromish.apply(fs.readFile, [filename])\r\n  .then(function(data) {\r\n    // oooh data!\r\n  })\r\n  .catch(function(error) {\r\n    // handle failure\r\n  });\r\n```\r\n\r\n### Call\r\n\r\n```javascript\r\n// Note: Promish.nfcall alias included for Q compatability\r\nPromish.call(fs.readFile, filename)\r\n  .then(function(data) {\r\n    // oooh data!\r\n  })\r\n  .catch(function(error) {\r\n    // handle failure\r\n  });\r\n```\r\n\r\n### Post\r\n\r\n```javascript\r\n// call method of target with arguments inline\r\n// Note: Promish.npost alias\r\nPromish.invoke(target, value1, value2)\r\n  .then(function(value) { ... });  \r\n```\r\n\r\n### Invoke\r\n\r\n```javascript\r\n// invoke method of target with array of arguments\r\n// Note: Promish.ninvoke alias\r\nPromish.invoke(target, [value1, value2])\r\n  .then(function(value) { ... });  \r\n```\r\n\r\n### Promisify\r\n\r\nConvert a function from async to promise for future use.\r\n\r\n```javascript\r\nvar readFile = Promish.promisify(fs.readFile);\r\n\r\nreadFile(filename)\r\n  .then(function(data) { ... })\r\n```\r\n\r\n### Promisify All\r\n\r\nPromisify all the async methods of an object.\r\n\r\nThere are two modes supported:\r\n* Proxy Mode (default)\r\n  * Creates a separate object that contains promisified methods for each method of the target object. The methods typically have the same name\r\n  * Note: ES6 Proxies eagerly awaited here!\r\n* In-Place Mode\r\n  * Adds promisified methods to the object, typically with a suffix to avoid colliding with the actual methods.\r\n\r\n```javascript\r\n\r\n// Proxy mode:\r\nvar fs = Promish.promisifyAll(require('fs'));\r\nfs.readFile(filename)\r\n  .then(function(data) { ... });\r\n\r\n// In-Place Mode\r\nvar fs = Promish.promisifyAll(require('fs'), { inPlace: true, suffix: 'Async' });\r\nfs.readFileAsync(filename)\r\n  .then(function(data) { ... });\r\n\r\n```\r\n\r\n### Method\r\n\r\nWrap a synchronous function or method so that it always returns a promise\r\n\r\n```javascript\r\nvar myFunc = Promish.method(function(value) {\r\n  // can throw\r\n  if (!value) throw new Error('Not zero!');\r\n  \r\n  // can return value\r\n  if (value > 0) return value;\r\n  \r\n  // can return promish()\r\n  return Promish.resolve(value);\r\n});\r\n\r\nmyFunc(1234)\r\n  .then(function(value) {\r\n    // ...\r\n  });\r\n\r\n// also works as member functions\r\nMyClass.prototype.func = Promish.method(function(value) {\r\n  // this is what you think it is\r\n  return this.value = value;\r\n});\r\n\r\nnew MyClass(7).func\r\n  .then(function(value) {\r\n    // ...\r\n  });\r\n\r\n```\r\n\r\n## All\r\n\r\nPromish wraps the native implementation of all.\r\n\r\n```javascript\r\nPromish.all([getPromise1(), getPromise2()])\r\n  .then(function(values) { ... });\r\n```\r\n\r\n## Race\r\n\r\nPromish wraps the native implementation of race.\r\n\r\n```javascript\r\nPromish.race([promise1, promise2])\r\n  .then(function(value) {\r\n    // first promise to finish was a success\r\n  })\r\n  .catch(function(error) {\r\n    // first promise to finish failed\r\n  });\r\n  \r\n```\r\n\r\n## Some\r\n\r\nResolve on first N successful promises or reject with array of errors.\r\n\r\n```javascript\r\nPromish.some([promise1, promise2, promise3], 2)\r\n  .then(function(values) {\r\n    // first 2 successful promises...\r\n  })\r\n  .catch(function(errors) {\r\n    // at least 2 promises failed\r\n  });\r\n  \r\n```\r\n\r\n## Any\r\n\r\nResolve on first successful promise or reject with array of errors.\r\n\r\n```javascript\r\nPromish.any([promise1, promise2])\r\n  .then(function(value) {\r\n    // first successful promise...\r\n  })\r\n  .catch(function(errors) {\r\n    // all promises failed\r\n  });\r\n  \r\n```\r\n\r\n## Spread\r\n\r\nConvert a resolve value array into arguments\r\n\r\n```javascript\r\nPromish.all([getPromish1(), getPromish2(), getPromish3()])\r\n  .spread(function(a,b,c) {\r\n    // a === value from getPromish1\r\n    // b === value from getPromish2\r\n    // c === value from getPromish3\r\n  });\r\n```\r\n\r\nSpread will also convert an array of promises into their resolved values\r\n\r\n```javascript\r\nnew Promish(function(resolve) {\r\n    resolve([getPromish1(), getPromish2(), getPromish3()])\r\n  })\r\n  .spread(function(a,b,c) {\r\n    // a === value from getPromish1\r\n    // b === value from getPromish2\r\n    // c === value from getPromish3\r\n  });\r\n```\r\n\r\n## Map\r\n\r\nProcess an array of values or promises using supplied callback and resolving with an array of processed values.\r\n\r\n```javascript\r\nfunction processMapValues(value) {\r\n    return value * 2;\r\n}\r\n// static version\r\nPromish.map([getValue(), getPromise()], processMapValues)\r\n    .spread(function(a,b) {\r\n        // a and b are resolved values\r\n    });\r\n    \r\n// inline version\r\nPromish.resolve([getValue(), getPromise()])\r\n    .map(processMapValues)\r\n    .spread(function(a,b) {\r\n        // a and b are resolved values\r\n    });\r\n```\r\n\r\n## Reduce\r\n\r\nProcess an array of values or promises using supplied callback and resolving with a single accumulated values.\r\nThe callback is called with arguments of accumulator and resolved value and returns a value or promise which will be resolved to become the next accuumulator value.\r\nFor further reading on reduce, please consult documentation for Array reduce();\r\n\r\n```javascript\r\nfunction processReduceValues(total, value) {\r\n    return total + value;\r\n}\r\n\r\n// static version\r\nPromish.reduce([getValue(), getPromise()], processReduceValues, 0)\r\n    .then(function(total) {\r\n        //  total will be the sum of all resolved values\r\n    });\r\n    \r\n// inline version\r\nPromish.resolve([getValue(), getPromise()])\r\n    .reduce(processReduceValues)\r\n    .then(function(total) {\r\n        //  total will be the sum of all resolved values\r\n    });\r\n    \r\n```\r\n\r\n# Browserification\r\n\r\nPromish is now also built for browserification both as a standalone bundle and as a module suitable for inclusion into your own browserify build.\r\n\r\n## dist/promish-bundle\r\n\r\nA browserified bundle is included as dist/promish-bundle.js (or dist/promish-bundle.min.js).\r\n  The bundle uses (and includes) the es6-promise module in order to produce a browser friendly bundle.\r\n\r\n## dist/promish-node\r\n\r\nFor node projects that still require older versions of JavaScript (or for including in a different browser bundle),\r\n  a node friendly module has also been included. To use, add the following code:\r\n\r\n```javascript\r\nvar Promish = require('promish/dist/promish-node');\r\n```\r\n\r\nNote that promish-node makes use of ES6 features like Array.from that are not covered by the babel transpile.\r\n  If you need to use promish in a completely ES2015 environment you will need to include some kind of compatable polyfill:\r\n\r\n```javascript\r\n// polyfill ES6 features\r\nrequire('babel-polyfill');\r\n```\r\n\r\n\r\n# Known Issues\r\n\r\n<ul>\r\n    <li>TBD</li>\r\n</ul>\r\n\r\n# Release History\r\n\r\n| Version | Changes |\r\n| ------- | ------- |\r\n| 0.0.1   | <ul><li>Initial Version</li></ul> |\r\n| 0.0.2   | <ul><li><a href=\"#delay\">Promish.delay()</li><li><a href=\"#defer\">Promish.defer()</li></ul> |\r\n| 0.0.3   | <ul><li><a href=\"#delay\">Promish.delay()</li><li><a href=\"#defer\">Promish.defer()</li><li><a href=\"#spread\">Promish.spread()</li></ul> |\r\n| 0.0.4   | <ul><li><a href=\"#apply\">Promish.apply()</li><li><a href=\"#call\">Promish.call()</li></ul> |\r\n| 0.0.5   | <ul><li><a href=\"#promisification\">Promishification</a></li></ul> |\r\n| 0.0.6   | <ul><li>Bugfixes and Documentation</li></ul> |\r\n| 4.2.2   | <ul><li>Updated for compatability with Node v4.<ul><li>Version number matches the version of Node I used when this was published</li><li>For compatability with older 0.x versions, specify Promish version 0.0.8 in your package.json</li></ul></li><li>Refactored to extend Promise instead of wrapping</li></ul> |\r\n| 4.2.3   | <ul><li>Added implict Promish.all to spread</li></ul> |\r\n| 4.2.4   | <ul><li>finally() must not swallow rejection.</li></ul> |\r\n| 4.2.5   | <ul><li>jshint!</li></ul> |\r\n| 4.2.8   | <ul><li>NPM Keywords</li></ul> |\r\n","_attachments":{},"homepage":"https://github.com/guyonroche/promish#readme","bugs":{"url":"https://github.com/guyonroche/promish/issues"},"license":"MIT"}