prfun

v2.1.5
Helper functions for ES6 promises
promise promises es6 harmony

eslint

eslint .

eslint-fix

eslint --fix .

lint

npm run eslint

lint-no-0.x

node -e 'process.exit(/v0[.][0-9]+[.]/.test(process.version) ? 0 : 1)' || npm run lint

mocha

if node -e 'process.exit(/v0[.]([0-9]|10)[.]/.test(process.version) ? 0 : 1)' ; then mocha ; else mocha --harmony ; fi

test

npm run lint-no-0.x && npm run mocha
npm i prfun

Metadata

  • MIT
  • Whatever
  • C. Scott Ananian
  • released 1/6/2018

Downloads

Maintainers