wrap-promise

v1.0.1
Like new Promise(), but prevents implicit rejection
promise constructor then thenable throw error wrapper explicit browser and 2 more...

pretest

eslint --config node_modules/@shinnn/eslintrc/rc.json --ignore-path .gitignore .

test

node test.js | tap-spec

coverage

istanbul cover test.js

coveralls

${npm_package_scripts_coverage} && istanbul-coveralls
npm i wrap-promise

Metadata

  • MIT
  • Whatever
  • Shinnosuke Watanabe
  • released 6/13/2015

Downloads

Maintainers