promise-apply-spec

v1.0.1
Reduce a data structure containing promises to a promise of the data structure containing the resolved values.
async promise utility unravel applySpec ramda

test

mocha test.js

build

mkdir -p dist && uglifyjs index.js --output dist/promise-apply-spec.min.js --compress --mangle --source-map

tag

git tag v$npm_package_version && git push origin v$npm_package_version

prerelease

[ -z "$(git status --porcelain)" ] || (>&2 echo 'ERROR: uncommitted work'; exit 1)

release

npm run coverage && npm run build && npm run tag && npm publish

report

nyc mocha test.js && nyc report --reporter=html

coverage

nyc mocha test.js && nyc report --reporter=lcovonly

postcoverage

nyc check-coverage --statements $npm_package_config_min_coverage --branches $npm_package_config_min_coverage --lines $npm_package_config_min_coverage

Metadata

  • MIT
  • Whatever
  • Evan King
  • released 9/9/2018

Downloads

Maintainers