{"_id":"bluebird-global","_rev":"3-bf424f5dc7e8bcec77f17b90c5edc1f5","name":"bluebird-global","time":{"modified":"2022-04-12T03:48:03.805Z","created":"2017-08-21T17:31:10.259Z","1.0.0":"2017-08-21T17:31:10.259Z","1.0.1":"2017-08-21T18:03:05.213Z"},"maintainers":[{"name":"kaatt","email":"kaatt@protonmail.com"}],"dist-tags":{"latest":"1.0.1"},"description":"Patches global.Promise to use bluebird and returns a bluebird instance","readme":"# bluebird-global\n\nMicromodule. Patches `global.Promise` to use the [bluebird library][bluebird-lib] which has [better than native performance for Promises][bluebird-is-faster].\n\nSimply install any version of `bluebird` that you wish the library to use (`bluebird` is a peer dependency) and call:\n\n```js\nimport bluebird from 'bluebird-global'\n```\n\nor\n\n```js\nconst bluebird = require('bluebird-global')\n```\n\nAll extra functions that bluebird provides but isn't defined in the ES spec should called like `bluebird.map` instead of like `Promise.map` so that TypeScript and Flow don't complain.\n\nYou can simply call `import 'bluebird-global'` or `require('bluebird-global')` if you won't use any bluebird-specific functions.\n\n[bluebird-lib]: https://www.npmjs.com/package/bluebird\n[bluebird-is-faster]: https://softwareengineering.stackexchange.com/questions/278778/why-are-native-es6-promises-slower-and-more-memory-intensive-than-bluebird\n\n## License\n\nMIT © [kaatt](https://github.com/kaatt)\n","versions":{"1.0.1":{"name":"bluebird-global","version":"1.0.1","description":"Patches global.Promise to use bluebird and returns a bluebird instance","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kaatt/bluebird-global.git"},"author":{"name":"kaatt"},"keywords":["polyfill","promise-library","promise","performance","promises","promises-a","promises-aplus","async","await"],"peerDependencies":{"bluebird":"*"},"gitHead":"205aa4c7e311112f27e7c12b9d8110cea5e71a5e","bugs":{"url":"https://github.com/kaatt/bluebird-global/issues"},"homepage":"https://github.com/kaatt/bluebird-global#readme","_id":"bluebird-global@1.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.4.0","_npmUser":{"name":"kaatt","email":"kaatt@protonmail.com"},"dist":{"integrity":"sha512-llTREi0V3EUM150DKdMLlXN/X2QsQ/hWJDiaGnivqeDwE32I0dmivYLU9/VvhotTzvvbv7OiM6zjVXYJ2dCmKQ==","shasum":"147c174f4e3a19740e80d992ea70ec3dc51d0d95","tarball":"https://registry.npmjs.org/bluebird-global/-/bluebird-global-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHO5eE0t2LbmO0vhOU1AmpxvokbVxbF6gXqOz6EGsDRwAiAYH7m3hL3/47yK1QunRRg9Y0Wz8JrNpQ0rSH/+VFeUzA=="}]},"maintainers":[{"name":"kaatt","email":"kaatt@protonmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bluebird-global-1.0.1.tgz_1503338585095_0.8708737762644887"}}},"homepage":"https://github.com/kaatt/bluebird-global#readme","keywords":["polyfill","promise-library","promise","performance","promises","promises-a","promises-aplus","async","await"],"repository":{"type":"git","url":"git+https://github.com/kaatt/bluebird-global.git"},"author":{"name":"kaatt"},"bugs":{"url":"https://github.com/kaatt/bluebird-global/issues"},"license":"MIT","readmeFilename":"README.md"}