neverthrow

v4.2.2
Stop throwing errors, and instead return Results!
typescript functional fp error

lint

eslint ./src --ext .ts

test

jest && npm run test-types

build

npm run clean && rollup --config && mv tmp/*.js dist

clean

rm -rf ./dist ./tmp

format

prettier --write 'src/**/*.ts?(x)' && npm run lint -- --fix

typecheck

tsc --noEmit

test-types

tsc --noEmit ./tests/typecheck-tests.ts

Metadata

  • MIT
  • Whatever
  • Giorgio Delgado
  • released 7/1/2021

Downloads

Maintainers