reuse-promise

v2.0.0
Reuse the same promise until resolved when retrieving it from a function
promise cache memoize

test

mocha

watch:test

npm test -- -w

build:clean

rimraf lib dist

build:js

babel -d lib/ src/

build

npm run build:clean && npm run build:js

prepublish

npm run build

test:cov

babel-node ./node_modules/isparta/bin/isparta cover ./node_modules/mocha/bin/_mocha -- --recursive

lint

eslint src test
npm i reuse-promise

Metadata

  • MIT
  • Whatever
  • Elad Ossadon
  • released 4/1/2018

Downloads

Maintainers