io-ts

v1.2.1
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 jest

clean

rimraf lib/*

build

npm run clean && tsc

perf

node perf/index

dtslint

dtslint dtslint

Metadata

  • MIT
  • Whatever
  • Giulio Canti
  • released 7/15/2018

Downloads

Maintainers