{"maintainers":[{"name":"anonymous","email":"me@re-becca.org"}],"keywords":[],"dist-tags":{"latest":"1.0.1"},"author":{"name":"Rebecca Turner","email":"me@re-becca.org","url":"http://re-becca.org/"},"description":"One promise for multiple requests in flight to avoid async duplication","readme":"# promise-inflight\n\nOne promise for multiple requests in flight to avoid async duplication\n\n## USAGE\n\n```javascript\nconst inflight = require('promise-inflight')\n\n// some request that does some stuff\nfunction req(key) {\n  // key is any random string.  like a url or filename or whatever.\n  return inflight(key, () => {\n    // this is where you'd fetch the url or whatever\n    return Promise.delay(100)\n  })\n}\n\n// only assigns a single setTimeout\n// when it dings, all thens get called with the same result.  (There's only\n// one underlying promise.)\nreq('foo').then(…)\nreq('foo').then(…)\nreq('foo').then(…)\nreq('foo').then(…)\n```\n\n## SEE ALSO\n\n* [inflight](https://npmjs.com/package/inflight) - For the callback based function on which this is based.\n\n## STILL NEEDS\n\nTests!\n","repository":{"type":"git","url":"git+https://github.com/iarna/promise-inflight.git"},"users":{"iarna":true},"bugs":{"url":"https://github.com/iarna/promise-inflight/issues"},"license":"ISC","versions":{"1.0.0":{"name":"promise-inflight","version":"1.0.0","description":"One promise for multiple requests in flight to avoid async duplication","main":"inflight.js","files":["inflight.js"],"license":"ISC","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Rebecca Turner","email":"me@re-becca.org","url":"http://re-becca.org/"},"dependencies":{"bluebird":"^3.4.7"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/iarna/promise-inflight.git"},"bugs":{"url":"https://github.com/iarna/promise-inflight/issues"},"homepage":"https://github.com/iarna/promise-inflight#readme","gitHead":"38661dbd9f72c10f0553aa3c090a1c2bac7982f5","_id":"promise-inflight@1.0.0","_shasum":"94d19b043a508a584969bb15f675810569dbbb50","_from":".","_npmVersion":"4.4.0","_nodeVersion":"4.6.1","_npmUser":{"name":"anonymous","email":"me@re-becca.org"},"dist":{"shasum":"94d19b043a508a584969bb15f675810569dbbb50","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/promise-inflight/-/promise-inflight-1.0.0.tgz","integrity":"sha512-KNFa11dR2LjD1Lmggsx2UBZLY19424skyEgdCbc6QrmtPFuAlUiJHnE6w+EQPbjlnCEt1+H7IttUEgEbdAvpHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDV0pG+Ko0CTP7SKvlhTXwY0N/07+Gh26lxwAyOicIdhAiEAlO/HfMGooTJRbuJswUzMiryJCl6b5zBBZvq0wPnsBnI="}]},"maintainers":[{"name":"anonymous","email":"me@re-becca.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/promise-inflight-1.0.0.tgz_1487994041894_0.7610008751507849"}},"1.0.1":{"name":"promise-inflight","version":"1.0.1","description":"One promise for multiple requests in flight to avoid async duplication","main":"inflight.js","files":["inflight.js"],"license":"ISC","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":[],"author":{"name":"Rebecca Turner","email":"me@re-becca.org","url":"http://re-becca.org/"},"devDependencies":{},"repository":{"type":"git","url":"git+https://github.com/iarna/promise-inflight.git"},"bugs":{"url":"https://github.com/iarna/promise-inflight/issues"},"homepage":"https://github.com/iarna/promise-inflight#readme","gitHead":"9de9f26d8ecfe28d067cbd84630676dfea415e4a","_id":"promise-inflight@1.0.1","_shasum":"98472870bf228132fcbdd868129bad12c3c029e3","_from":".","_npmVersion":"4.4.0","_nodeVersion":"4.6.1","_npmUser":{"name":"anonymous","email":"me@re-becca.org"},"dist":{"shasum":"98472870bf228132fcbdd868129bad12c3c029e3","tarball":"http://repository.ncinga.com/nexus/content/repositories/npm-js-registry/promise-inflight/-/promise-inflight-1.0.1.tgz","integrity":"sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdt7Mgt9HGKcg2R7EJBA7sAfQN0t7d6dgzqrTejEyO9AIgNx0QiEdBOgse55Zdie4m9YJs1zZ51DAI9tEOOVZFy4c="}]},"maintainers":[{"name":"anonymous","email":"me@re-becca.org"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/promise-inflight-1.0.1.tgz_1488077339544_0.4008405189961195"}}},"name":"promise-inflight","time":{"modified":"2022-06-24T18:46:01.556Z","created":"2017-02-25T03:40:42.163Z","1.0.0":"2017-02-25T03:40:42.163Z","1.0.1":"2017-02-26T02:48:59.798Z"},"readmeFilename":"README.md","homepage":"https://github.com/iarna/promise-inflight#readme"}