{"_id":"es6-promise-promise","_rev":"6-b6b5ea884eeb7996e0fbb6a994fdec73","name":"es6-promise-promise","description":"module that exports the Promise property from es6-promise","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"es6-promise-promise","version":"1.0.0","description":"module that exports the Promise property from es6-promise","main":"index.js","scripts":{"test":"node test/index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/lrqdo/es6-promise-promise.git"},"keywords":["es6-promise","promise","export"],"author":{"name":"Serge havas","email":"sinewyk@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/lrqdo/es6-promise-promise/issues"},"homepage":"https://github.com/lrqdo/es6-promise-promise#readme","dependencies":{"es6-promise":"^3.2.1"},"gitHead":"e492a13fbebee29187755647ab8d5cd8049aecfb","_id":"es6-promise-promise@1.0.0","_shasum":"3a91f235fdd2b08c4492b5734dfd1f417289b994","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"sinewyk","email":"sinewyk@gmail.com"},"dist":{"shasum":"3a91f235fdd2b08c4492b5734dfd1f417289b994","tarball":"https://registry.npmjs.org/es6-promise-promise/-/es6-promise-promise-1.0.0.tgz","integrity":"sha512-+Y7JJ8d0QIvQyLLmCULjUGPTg1CctpyEIMtGS+AE/xx9Rr0iqJi3heJYYRSucwOp7ngAAOi/GMKakAIAP79qRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWfjvSceZSXEmOQc/fbCZkwMZZ6ny51vVWXljaPFaegAiB/2EvDt9Izm40L298UNSfnv7MH7QI9LPgiZ0zWcXwTlA=="}]},"maintainers":[{"name":"sinewyk","email":"sinewyk@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/es6-promise-promise-1.0.0.tgz_1463585186285_0.3874773795250803"}}},"readme":"# es6-promise-promise\n\nSimple package that exports the `Promise` property from [`es6-promise`](https://github.com/stefanpenner/es6-promise).\n\n# Install\n`npm i es6-promise-promise`\n\n# Usage\nInstead of\n`var Promise = require('es6-promise').Promise;`\n\njust\n\n`var Promise = require('es6-promise-promise');`\n\n# Why I created this\nIf you want to ship less code sometimes you just want to replace some Promise implementations by another.\n\nFor example if you don't want `universal-promise` in [yup](https://github.com/jquense/yup) and you want to alias it (webpack configuration), you can't do it easily with\n```\nalias: {\n    'universal-promise': 'es6-promise',\n}\n```\nbecause one is a promise, the other an object.\n\nFix this by using\n```\nalias: {\n    'universal-promise': 'es6-promise-promise',\n}\n```\nand you're good to go.\n\nSame thing with the [ProvidePlugin](http://webpack.github.io/docs/list-of-plugins.html#provideplugin) for example ...\nThis won't work\n```\nnew webpack.ProvidePlugin({\n    Promise: 'es6-promise', // Promise is not a function\n})\n```\nThis will\n```\nnew webpack.ProvidePlugin({\n    Promise: 'es6-promise-promise', // works as expected\n})\n```\n","maintainers":[{"name":"sinewyk","email":"sinewyk@gmail.com"}],"time":{"modified":"2022-06-17T17:01:13.401Z","created":"2016-05-18T15:26:28.645Z","1.0.0":"2016-05-18T15:26:28.645Z"},"homepage":"https://github.com/lrqdo/es6-promise-promise#readme","keywords":["es6-promise","promise","export"],"repository":{"type":"git","url":"git+ssh://git@github.com/lrqdo/es6-promise-promise.git"},"author":{"name":"Serge havas","email":"sinewyk@gmail.com"},"bugs":{"url":"https://github.com/lrqdo/es6-promise-promise/issues"},"license":"MIT","readmeFilename":"README.md","users":{"rubiadias":true,"temasm":true,"xfloops":true}}