neverthrow

v6.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

prepack

npm run build

typecheck

tsc --noEmit

test-types

tsc --noEmit -p ./tests/tsconfig.tests.json

Metadata

  • MIT
  • Whatever
  • Giorgio Delgado
  • released 6/2/2024

Downloads

Maintainers