gcanti / io-ts-types

A collection of codecs and combinators for use with io-ts
https://gcanti.github.io/io-ts-types/
MIT License
311 stars 40 forks source link

A collection of runtime types and combinators for use with io-ts

Installation

To install the stable version:

npm i io-ts-types

Note. io-ts-types depends on

starting from 0.5.0 you must install fp-ts, io-ts, newtype-ts and monocle-ts manually (fp-ts, io-ts, newtype-ts and monocle-ts are listed in peerDependency)

TypeScript compatibility

io-ts-types version required typescript version
0.5.x 3.5+
0.4.x 3.1+

Documentation