{"_id":"promis","_rev":"1017725","name":"promis","description":"A small embeddable Promise polyfill","dist-tags":{"latest":"1.1.4"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"time":{"modified":"2021-09-28T15:37:54.000Z","created":"2014-05-17T00:08:49.064Z","1.1.4":"2015-12-08T08:20:26.644Z","1.1.3":"2015-12-08T08:19:40.789Z","1.1.2":"2015-09-23T06:50:35.394Z","1.1.1":"2015-09-23T06:43:16.737Z","1.1.0":"2015-07-07T08:11:55.379Z","1.0.8":"2015-06-29T21:15:41.320Z","1.0.7":"2015-06-29T21:11:34.136Z","1.0.6":"2015-05-23T21:08:28.955Z","1.0.5":"2015-05-11T14:10:13.870Z","1.0.4":"2015-05-11T11:58:09.329Z","1.0.3":"2015-04-20T13:24:40.894Z","1.0.2":"2015-04-17T14:18:50.053Z","1.0.1":"2014-11-29T01:38:45.088Z","1.0.0":"2014-05-17T00:08:49.064Z"},"users":{"amirrustam":true},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/bramstein/promis.git"},"versions":{"1.1.4":{"name":"promis","version":"1.1.4","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^2.0.1","grunt":"^0.4.5","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-copy":"^0.8.0","grunt-exec":"^0.4.6","grunt-mocha-test":"^0.12.7","load-grunt-tasks":"3.2.0","mocha":"~2.2.5","promises-aplus-tests":"~2.1.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git+ssh://git@github.com/bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","gitHead":"b2a87519fba6a445638c6b6616ebbfbf164e408e","_id":"promis@1.1.4","_shasum":"0d0ef43ccacacdd8f9679cd6e0950f7c7f52096c","_from":".","_npmVersion":"3.4.1","_nodeVersion":"0.12.7","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"dist":{"shasum":"0d0ef43ccacacdd8f9679cd6e0950f7c7f52096c","size":24866,"noattachment":false,"key":"/promis/-/promis-1.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.1.4.tgz"},"directories":{},"publish_time":1449562826644,"_cnpm_publish_time":1449562826644,"_hasShrinkwrap":false},"1.1.3":{"name":"promis","version":"1.1.3","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^2.0.1","grunt":"^0.4.5","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-copy":"^0.8.0","grunt-exec":"^0.4.6","grunt-mocha-test":"^0.12.7","load-grunt-tasks":"3.2.0","mocha":"~2.2.5","promises-aplus-tests":"~2.1.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git+ssh://git@github.com/bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","gitHead":"ba50a9e455dad67ec4f1669cc31492a87c33bf04","_id":"promis@1.1.3","_shasum":"7b27697f12e47aa13fcb318a80f0c56ce0d095fc","_from":".","_npmVersion":"3.4.1","_nodeVersion":"0.12.7","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"dist":{"shasum":"7b27697f12e47aa13fcb318a80f0c56ce0d095fc","size":24940,"noattachment":false,"key":"/promis/-/promis-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.1.3.tgz"},"directories":{},"publish_time":1449562780789,"_cnpm_publish_time":1449562780789,"_hasShrinkwrap":false},"1.1.2":{"name":"promis","version":"1.1.2","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^2.0.1","grunt":"^0.4.5","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-copy":"^0.8.0","grunt-exec":"^0.4.6","grunt-mocha-test":"^0.12.7","load-grunt-tasks":"3.2.0","mocha":"~2.2.5","promises-aplus-tests":"~2.1.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git+ssh://git@github.com/bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","gitHead":"bc025676b0e3fc8a3e1722cae783cb8c89e92be6","_id":"promis@1.1.2","_shasum":"b762d40515b8f13814e1ef630c695f5f73c09112","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"dist":{"shasum":"b762d40515b8f13814e1ef630c695f5f73c09112","size":23504,"noattachment":false,"key":"/promis/-/promis-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.1.2.tgz"},"directories":{},"publish_time":1442991035394,"_cnpm_publish_time":1442991035394,"_hasShrinkwrap":false},"1.1.1":{"name":"promis","version":"1.1.1","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^2.0.1","grunt":"^0.4.5","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-copy":"^0.8.0","grunt-exec":"^0.4.6","grunt-mocha-test":"^0.12.7","load-grunt-tasks":"3.2.0","mocha":"~2.2.5","promises-aplus-tests":"~2.1.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git+ssh://git@github.com/bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","gitHead":"1123d3a1e34d77abf08e0c3f88ec37e9a2451918","_id":"promis@1.1.1","_shasum":"b76cd4175eca08350fabd2c0cf18ae6e44fdc407","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"dist":{"shasum":"b76cd4175eca08350fabd2c0cf18ae6e44fdc407","size":23502,"noattachment":false,"key":"/promis/-/promis-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.1.1.tgz"},"directories":{},"publish_time":1442990596737,"_cnpm_publish_time":1442990596737,"_hasShrinkwrap":false},"1.1.0":{"name":"promis","version":"1.1.0","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^2.0.1","grunt":"^0.4.5","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-copy":"^0.8.0","grunt-exec":"^0.4.6","grunt-mocha-test":"^0.12.7","load-grunt-tasks":"3.2.0","mocha":"~2.2.5","promises-aplus-tests":"~2.1.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","_id":"promis@1.1.0","dist":{"shasum":"f08852469a33d016c2b3d4478ab1aa09829118e4","size":23496,"noattachment":false,"key":"/promis/-/promis-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1436256715379,"_cnpm_publish_time":1436256715379,"_hasShrinkwrap":false},"1.0.8":{"name":"promis","version":"1.0.8","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^2.0.1","grunt":"^0.4.5","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-copy":"^0.8.0","grunt-exec":"^0.4.6","grunt-mocha-test":"^0.12.7","load-grunt-tasks":"3.2.0","mocha":"~2.2.5","promises-aplus-tests":"~2.1.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","_id":"promis@1.0.8","dist":{"shasum":"c2c408cd72184374359649dd41ce69ed7f7b0821","size":23719,"noattachment":false,"key":"/promis/-/promis-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.8.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1435612541320,"_cnpm_publish_time":1435612541320,"_hasShrinkwrap":false},"1.0.7":{"name":"promis","version":"1.0.7","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^2.0.1","grunt":"^0.4.5","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-copy":"^0.8.0","grunt-exec":"^0.4.6","grunt-mocha-test":"^0.12.7","load-grunt-tasks":"3.2.0","mocha":"~2.2.5","promises-aplus-tests":"~2.1.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","_id":"promis@1.0.7","dist":{"shasum":"d8c2a0ef045f4470344afb86ae3a051e35686d49","size":23721,"noattachment":false,"key":"/promis/-/promis-1.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.7.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1435612294136,"_cnpm_publish_time":1435612294136,"_hasShrinkwrap":false},"1.0.6":{"name":"promis","version":"1.0.6","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^2.0.1","grunt":"^0.4.5","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.6.0","grunt-contrib-concat":"^0.5.1","grunt-contrib-copy":"^0.8.0","grunt-exec":"^0.4.6","grunt-mocha-test":"^0.12.7","load-grunt-tasks":"3.2.0","mocha":"~2.2.5","promises-aplus-tests":"~2.1.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","_id":"promis@1.0.6","dist":{"shasum":"55cc9d21dade1a196d2e83363cd520eea5f4f5c5","size":23548,"noattachment":false,"key":"/promis/-/promis-1.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.6.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1432415308955,"_cnpm_publish_time":1432415308955,"_hasShrinkwrap":false},"1.0.5":{"name":"promis","version":"1.0.5","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^1.2.1","grunt":"^0.4.4","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.5.0","grunt-contrib-concat":"^0.4.0","grunt-contrib-copy":"^0.5.0","grunt-exec":"^0.4.5","grunt-mocha-test":"^0.10.2","load-grunt-tasks":"3.1.0","mocha":"~1.18.2","promises-aplus-tests":"~2.0.4"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","_id":"promis@1.0.5","dist":{"shasum":"a4562fed95ba48e3d733437441df01b52806fcc2","size":22511,"noattachment":false,"key":"/promis/-/promis-1.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.5.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1431353413870,"_cnpm_publish_time":1431353413870,"_hasShrinkwrap":false},"1.0.4":{"name":"promis","version":"1.0.4","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^1.2.1","grunt":"^0.4.4","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.5.0","grunt-contrib-concat":"^0.4.0","grunt-contrib-copy":"^0.5.0","grunt-exec":"^0.4.5","grunt-mocha-test":"^0.10.2","load-grunt-tasks":"3.1.0","mocha":"~1.18.2","promises-aplus-tests":"~2.0.4"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","_id":"promis@1.0.4","dist":{"shasum":"da6f81217b1822dce15fc5d5a0432c8ba5ea6068","size":22509,"noattachment":false,"key":"/promis/-/promis-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.4.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1431345489329,"_cnpm_publish_time":1431345489329,"_hasShrinkwrap":false},"1.0.3":{"name":"promis","version":"1.0.3","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^1.2.1","grunt":"^0.4.4","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.5.0","grunt-contrib-concat":"^0.4.0","grunt-contrib-copy":"^0.5.0","grunt-exec":"^0.4.5","grunt-mocha-test":"^0.10.2","load-grunt-tasks":"3.1.0","mocha":"~1.18.2","promises-aplus-tests":"~2.0.4"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","_id":"promis@1.0.3","dist":{"shasum":"45f62fe2b302b3ba84ada9830d0a81881dac6fc2","size":23401,"noattachment":false,"key":"/promis/-/promis-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.3.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1429536280894,"_cnpm_publish_time":1429536280894,"_hasShrinkwrap":false},"1.0.2":{"name":"promis","version":"1.0.2","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"expect.js":"~0.3.1","extend":"^1.2.1","grunt":"^0.4.4","grunt-closurecompiler":"^0.9.9","grunt-contrib-clean":"^0.5.0","grunt-contrib-concat":"^0.4.0","grunt-contrib-copy":"^0.5.0","grunt-exec":"^0.4.5","grunt-mocha-test":"^0.10.2","load-grunt-tasks":"3.1.0","mocha":"~1.18.2","promises-aplus-tests":"~2.0.4"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"bugs":{"url":"https://github.com/bramstein/promis/issues"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","_id":"promis@1.0.2","dist":{"shasum":"90bce4bd07bf523d210c445cb5bd413ff811cef9","size":22376,"noattachment":false,"key":"/promis/-/promis-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1429280330053,"_cnpm_publish_time":1429280330053,"_hasShrinkwrap":false},"1.0.1":{"name":"promis","version":"1.0.1","description":"A small embeddable Promise polyfill","main":"promise.js","dependencies":{},"devDependencies":{"mocha":"~1.18.2","grunt":"^0.4.4","grunt-contrib-clean":"^0.5.0","grunt-closurecompiler":"^0.9.9","extend":"^1.2.1","grunt-contrib-concat":"^0.4.0","grunt-exec":"^0.4.5","promises-aplus-tests":"~2.0.4","expect.js":"~0.3.1","grunt-mocha-test":"^0.10.2","grunt-contrib-copy":"^0.5.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","bugs":{"url":"https://github.com/bramstein/promis/issues"},"_id":"promis@1.0.1","dist":{"shasum":"b7d12c817b96caea0e96f0f003cb68d1510ec783","size":22393,"noattachment":false,"key":"/promis/-/promis-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.1.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1417225125088,"_cnpm_publish_time":1417225125088,"_hasShrinkwrap":false},"1.0.0":{"name":"promis","version":"1.0.0","description":"A small embeddable Promise polyfill","main":"src/promise.js","dependencies":{},"devDependencies":{"mocha":"~1.18.2","grunt":"^0.4.4","grunt-contrib-clean":"^0.5.0","grunt-closurecompiler":"^0.9.9","extend":"^1.2.1","grunt-contrib-concat":"^0.4.0","grunt-exec":"^0.4.5","promises-aplus-tests":"~2.0.4","expect.js":"~0.3.1","grunt-mocha-test":"^0.10.2","grunt-contrib-copy":"^0.5.0"},"keywords":["promise","promises","promise-aplus","promises-aplus","closure compiler","async","deferred","await","defer"],"scripts":{"test":"grunt test"},"homepage":"https://github.com/bramstein/promis","repository":{"type":"git","url":"git@github.com:bramstein/promis.git"},"author":{"name":"Bram Stein","email":"b.l.stein@gmail.com","url":"http://www.bramstein.com"},"license":"BSD","bugs":{"url":"https://github.com/bramstein/promis/issues"},"_id":"promis@1.0.0","dist":{"shasum":"85bdc442049c95d81bdc62e070728663b2a95f81","size":22356,"noattachment":false,"key":"/promis/-/promis-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/promis/download/promis-1.0.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"bramstein","email":"b.l.stein@gmail.com"},"maintainers":[{"name":"bramstein","email":"b.l.stein@gmail.com"}],"directories":{},"publish_time":1400285329064,"_cnpm_publish_time":1400285329064,"_hasShrinkwrap":false}},"readme":"<a href=\"http://promisesaplus.com/\">\n  <img src=\"http://promisesaplus.com/assets/logo-small.png\" alt=\"Promises/A+ logo\" title=\"Promises/A+ 1.0 compliant\" align=\"right\" />\n</a>\n\n## Promis: a small embeddable Promise polyfill\n\nThis is a tiny (0.8KB gzipped, 1.9KB minified) Promise implementation meant for embedding in other projects and use as a standalone polyfill. It supports the full Promise API specification and passes the official Promises/A+ test suite.\n\n### API\n\nThe constructor is called with a single function argument.\n\n```javascript\nvar promise = new Promise(function (resolve, reject) {\n  resolve('hello');\n});\n```\n\nInstances of a Promise have two methods available: `then` and `catch`. The `then` method is used to add callbacks for when the promise is resolved or rejected.\n\n```javascript\npromise.then(function (x) {\n  console.log('value is', x);\n}, function (r) {\n  console.log('reason is', r);\n});\n```\n\nThe `catch` method is used the catch rejected promises in a more convenient way.\n\n```javascript\npromise.catch(function (r) {\n  console.log('reason is', r);\n});\n```\n\nBoth methods return a new Promise that can be used for chaining.\n\nThe Promise class also has four class methods: `resolve`, `reject`, `race` and `all`. The `resolve` and `reject` methods are a convenient way of creating already settled promises:\n\n```javascript\nvar resolved = Promise.resolve('hello');\nvar rejected = Promise.reject('bye');\n```\n\nThe `race` method can be used to \"race\" two or more promises against each other. The returned promises is settled with the result of the first promise that settles.\n\n```javascript\n// first will be resolved with 'hello'\nvar first = Promise.race([new Promise(function (resolve) {\n  setTimeout(function () {\n    resolve('world');\n  }, 1000);\n}), Promise.resolve('hello')]);\n```\n\nThe `all` method waits for all promises given to it to resolve and then resolves the promise with the result of all of them.\n\n```javascript\n// all is settles with ['hello', 'world']\nvar all = Promise.all([Promise.resolve('hello'), Promise.resolve('world')]);\n```\n\nYou can find more information about Promises and the API in the [official Promise specification](http://promisesaplus.com/) and on [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise).\n\n### Tests\n\nUse the `grunt test` task to run all the tests. You can optionally pass the `--compiled` flag to test the compiled and minified JavaScript file.\n\n### Embedding\n\nThis implementation uses Closure Compiler's advanced optimization mode to make the resulting file size as small as possible. If you want to embed this library into your project you can also benefit from Closure Compiler's dead code elimination to remove methods that you are not using. If you want to use Promis this way, you'll need to copy `src/promise.js` into your project and `goog.require` the implementation. Unlike the [standalone file](promise.js), the `src/promise.js` file by itself does not export anything to the global namespace. Instead you should require the `lang.Promise` namespace to instantiate a Promise.\n\n```javascript\ngoog.require('lang.Promise');\n\n...\n\nvar promise = new lang.Promise(function (resolve, reject) {\n  resolve('hello');\n});\n```\n\n### License\n\nLicensed under the [BSD license](LICENSE).\nCopyright 2014 - Bram Stein. All rights reserved.\n","_attachments":{},"homepage":"https://github.com/bramstein/promis","bugs":{"url":"https://github.com/bramstein/promis/issues"},"license":"BSD"}