bail

v2.0.2
Throw a given error
fail bail throw callback error

prepublishOnly

npm run build && npm run format

build

rimraf "*.d.ts" && tsc && tsd && type-coverage

format

remark . -qfo && prettier . -w --loglevel warn && xo --fix

test-api

node --conditions development test.js

test-coverage

c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api

test

npm run build && npm run format && npm run test-coverage
npm i bail

Metadata

  • MIT
  • Whatever
  • Titus Wormer
  • released 11/7/2021

Downloads

Maintainers