io-ts

v1.8.2
TypeScript compatible runtime type system for IO validation
typescript validation inference types runtime

lint

tslint -p tsconfig.json src/**/*.ts test/**/*.ts

jest

jest

prettier

prettier --no-semi --single-quote --print-width 120 --parser typescript --list-different "{src,test}/**/*.ts"

fix-prettier

prettier --no-semi --single-quote --print-width 120 --parser typescript --write "{src,test,examples,exercises}/**/*.ts"

test

npm run prettier && npm run lint && npm run dtslint && npm run declaration && npm run jest

clean

rimraf lib/*

build

npm run clean && tsc

prepublish

npm run build

perf

node perf/index

dtslint

dtslint dtslint

declaration

tsc -p declaration/tsconfig.json

mocha

TS_NODE_CACHE=false mocha -r ts-node/register test/*.ts

Metadata

  • MIT
  • Whatever
  • Giulio Canti
  • released 2/11/2019

Downloads

Maintainers