{"_id":"native-or-bluebird","_rev":"2669","name":"native-or-bluebird","description":"use either the native Promise or Bluebird","dist-tags":{"latest":"1.2.0"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"rstacruz","email":"rico@ricostacruz.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"}],"time":{"modified":"2021-06-03T09:56:11.000Z","created":"2014-07-16T01:01:13.297Z","1.2.0":"2015-02-12T01:52:58.611Z","1.1.2":"2014-10-28T04:19:34.296Z","1.1.1":"2014-08-30T03:11:49.448Z","1.1.0":"2014-08-30T02:39:34.348Z","1.0.0":"2014-07-16T01:01:13.297Z"},"users":{"byoigres":true,"battlemidget":true,"cooclsee":true},"author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"repository":{"type":"git","url":"https://github.com/normalize/native-or-bluebird"},"versions":{"1.2.0":{"name":"native-or-bluebird","description":"use either the native Promise or Bluebird","version":"1.2.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/normalize/native-or-bluebird"},"keywords":["bluebird","promise","promises"],"devDependencies":{"bluebird":"*","istanbul":"0","mocha":"1"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"files":["index.js","promise.js","LICENSE"],"gitHead":"6f562f773836a0c0a6fd4d8e1af315dd1032733d","bugs":{"url":"https://github.com/normalize/native-or-bluebird/issues"},"homepage":"https://github.com/normalize/native-or-bluebird","_id":"native-or-bluebird@1.2.0","_shasum":"39c47bfd7825d1fb9ffad32210ae25daadf101c9","_from":".","_npmVersion":"2.5.1","_nodeVersion":"1.2.0","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"rstacruz","email":"rico@ricostacruz.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"}],"dist":{"shasum":"39c47bfd7825d1fb9ffad32210ae25daadf101c9","size":2065,"noattachment":false,"key":"/native-or-bluebird/-/native-or-bluebird-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-or-bluebird/download/native-or-bluebird-1.2.0.tgz"},"directories":{},"publish_time":1423705978611,"_cnpm_publish_time":1423705978611,"deprecated":"'native-or-bluebird' is deprecated. Please use 'any-promise' instead.","_hasShrinkwrap":false},"1.1.2":{"name":"native-or-bluebird","description":"use either the native Promise or Bluebird","version":"1.1.2","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/normalize/native-or-bluebird"},"keywords":["bluebird","promise","promises"],"devDependencies":{"bluebird":"*","istanbul":"0","mocha":"1"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"files":["index.js","promise.js","LICENSE"],"gitHead":"652f5744d08bf2121a2cc3cc1a560d4d7d96b591","bugs":{"url":"https://github.com/normalize/native-or-bluebird/issues"},"homepage":"https://github.com/normalize/native-or-bluebird","_id":"native-or-bluebird@1.1.2","_shasum":"3921e110232d1eb790f3dac61bb370531c7d356e","_from":".","_npmVersion":"2.1.5","_nodeVersion":"0.11.14","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"rstacruz","email":"rico@ricostacruz.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"}],"dist":{"shasum":"3921e110232d1eb790f3dac61bb370531c7d356e","size":2077,"noattachment":false,"key":"/native-or-bluebird/-/native-or-bluebird-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-or-bluebird/download/native-or-bluebird-1.1.2.tgz"},"directories":{},"publish_time":1414469974296,"_cnpm_publish_time":1414469974296,"deprecated":"'native-or-bluebird' is deprecated. Please use 'any-promise' instead.","_hasShrinkwrap":false},"1.1.1":{"name":"native-or-bluebird","description":"use either the native Promise or Bluebird","version":"1.1.1","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/normalize/native-or-bluebird"},"keywords":["bluebird","promise","promises"],"devDependencies":{"bluebird":"*","istanbul":"0","mocha":"1"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"files":["index.js","promise.js","LICENSE"],"gitHead":"fc9ac96f8915371fa1ba3ad5efc84909e5c8f2de","bugs":{"url":"https://github.com/normalize/native-or-bluebird/issues"},"homepage":"https://github.com/normalize/native-or-bluebird","_id":"native-or-bluebird@1.1.1","_shasum":"9131a6d6532afdfb5635f9703734cc6652c905ee","_from":".","_npmVersion":"1.4.21","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"rstacruz","email":"rico@ricostacruz.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"}],"dist":{"shasum":"9131a6d6532afdfb5635f9703734cc6652c905ee","size":2055,"noattachment":false,"key":"/native-or-bluebird/-/native-or-bluebird-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-or-bluebird/download/native-or-bluebird-1.1.1.tgz"},"directories":{},"publish_time":1409368309448,"_cnpm_publish_time":1409368309448,"deprecated":"'native-or-bluebird' is deprecated. Please use 'any-promise' instead.","_hasShrinkwrap":false},"1.1.0":{"name":"native-or-bluebird","description":"use either the native Promise or Bluebird","version":"1.1.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/normalize/native-or-bluebird"},"keywords":["bluebird","promise","promises"],"devDependencies":{"bluebird":"*","istanbul":"0","mocha":"1"},"scripts":{"test":"mocha --reporter spec","test-cov":"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot","test-travis":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"},"gitHead":"b6dcf526d78f7e971e015528913304ba7df0cd92","bugs":{"url":"https://github.com/normalize/native-or-bluebird/issues"},"homepage":"https://github.com/normalize/native-or-bluebird","_id":"native-or-bluebird@1.1.0","_shasum":"4a862412a35a4cdb9ac05f0977451b484dbdc79a","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"rstacruz","email":"rico@ricostacruz.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"}],"dist":{"shasum":"4a862412a35a4cdb9ac05f0977451b484dbdc79a","size":2371,"noattachment":false,"key":"/native-or-bluebird/-/native-or-bluebird-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-or-bluebird/download/native-or-bluebird-1.1.0.tgz"},"directories":{},"publish_time":1409366374348,"_cnpm_publish_time":1409366374348,"deprecated":"'native-or-bluebird' is deprecated. Please use 'any-promise' instead.","_hasShrinkwrap":false},"1.0.0":{"name":"native-or-bluebird","description":"use either the native Promise or Bluebird","version":"1.0.0","author":{"name":"Jonathan Ong","email":"me@jongleberry.com","url":"http://jongleberry.com"},"license":"MIT","repository":{"type":"git","url":"https://github.com/normalize/native-or-bluebird"},"keywords":["bluebird","promise","promises"],"gitHead":"8ea1eddc87d06bca93bd571b078d3858cf4655ea","bugs":{"url":"https://github.com/normalize/native-or-bluebird/issues"},"homepage":"https://github.com/normalize/native-or-bluebird","_id":"native-or-bluebird@1.0.0","scripts":{},"_shasum":"2259f00d3b8621a9e6389f0d99badfcc2d8fccfe","_from":".","_npmVersion":"1.4.16","_npmUser":{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},"maintainers":[{"name":"coderhaoxin","email":""},{"name":"jongleberry","email":"jonathanrichardong@gmail.com"},{"name":"rstacruz","email":"rico@ricostacruz.com"},{"name":"swatinem","email":"arpad.borsos@googlemail.com"}],"dist":{"shasum":"2259f00d3b8621a9e6389f0d99badfcc2d8fccfe","size":1576,"noattachment":false,"key":"/native-or-bluebird/-/native-or-bluebird-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/native-or-bluebird/download/native-or-bluebird-1.0.0.tgz"},"directories":{},"publish_time":1405472473297,"_cnpm_publish_time":1405472473297,"deprecated":"'native-or-bluebird' is deprecated. Please use 'any-promise' instead.","_hasShrinkwrap":false}},"readme":"\n# native-or-bluebird\n\n[![NPM version][npm-image]][npm-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n[![Dependency Status][david-image]][david-url]\n[![License][license-image]][license-url]\n[![Downloads][downloads-image]][downloads-url]\n[![Gittip][gittip-image]][gittip-url]\n\nUse either `bluebird` or the native `Promise` implementation.\nIf no implementation is found, an error will be thrown:\n\n```js\nvar Promise = require('native-or-bluebird');\n```\n\nThe goal of this library is to be able to eventually remove this line\nfrom your code and use native `Promise`s, allowing you to\nto write future-compatible code with ease.\nYou should install `bluebird` in your libraries for maximum compatibility.\n\nIf you do not want an error to be thrown,\n`require()` the `Promise` implementation directly.\nIf no implementation is found, `undefined` will be returned.\n\n```js\nvar Promise = require('native-or-bluebird/promise');\nif (Promise) // do stuff with promises\n```\n\n[npm-image]: https://img.shields.io/npm/v/native-or-bluebird.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/native-or-bluebird\n[github-tag]: http://img.shields.io/github/tag/normalize/native-or-bluebird.svg?style=flat-square\n[github-url]: https://github.com/normalize/native-or-bluebird/tags\n[travis-image]: https://img.shields.io/travis/normalize/native-or-bluebird.svg?style=flat-square\n[travis-url]: https://travis-ci.org/normalize/native-or-bluebird\n[coveralls-image]: https://img.shields.io/coveralls/normalize/native-or-bluebird.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/normalize/native-or-bluebird?branch=master\n[david-image]: http://img.shields.io/david/normalize/native-or-bluebird.svg?style=flat-square\n[david-url]: https://david-dm.org/normalize/native-or-bluebird\n[license-image]: http://img.shields.io/npm/l/native-or-bluebird.svg?style=flat-square\n[license-url]: LICENSE\n[downloads-image]: http://img.shields.io/npm/dm/native-or-bluebird.svg?style=flat-square\n[downloads-url]: https://npmjs.org/package/native-or-bluebird\n[gittip-image]: https://img.shields.io/gittip/jonathanong.svg?style=flat-square\n[gittip-url]: https://www.gittip.com/jonathanong/\n","_attachments":{},"homepage":"https://github.com/normalize/native-or-bluebird","bugs":{"url":"https://github.com/normalize/native-or-bluebird/issues"},"license":"MIT"}