@dozerg/condition

v1.0.8
Preconditions utility for TypeScript and JavaScript.
precondition condition assert isNonNull assertNonNull

compile

tsc

compile:watch

tsc -w

build

npm run compile

test

jest src/

test:watch

jest --watch src/

clean

rm -rf dist

cleanall

rm -rf dist node_modules *.tgz docs

docs

rm -rf docs && typedoc --plugin typedoc-plugin-markdown

prepublishOnly

npm run clean && npm i && tsc && jest src/ && eslint src/
npm i @dozerg/condition

Metadata

  • MIT
  • Whatever
  • Zhao DAI
  • released 4/5/2024

Downloads

Maintainers