io-ts

v2.2.9
TypeScript runtime type system for IO decoding/encoding
typescript runtime decoder encoder schema

lint

tslint -p tsconfig.tslint.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 && npm run docs

clean

rimraf lib/* es6/*

build

npm run clean && tsc && tsc -p tsconfig.es6.json && npm run import-path-rewrite

prepublish

npm run build

perf

ts-node perf/index

dtslint

dtslint dtslint

mocha

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

doctoc

doctoc README.md index.md Decoder.md Encoder.md Codec.md Eq.md Schema.md

docs

docs-ts

import-path-rewrite

import-path-rewrite

Metadata

  • MIT
  • Whatever
  • Giulio Canti
  • released 7/16/2020

Downloads

Maintainers