io-ts

Runtime type system for IO decoding/encoding

README

build status
npm downloads




  - [Experimental features (version 2.2+)](#experimental-features-version-22)



Installation


To install the stable version

  1. ```sh
  2. npm i io-ts fp-ts
  3. ```

Note. [fp-ts](https://github.com/gcanti/fp-ts) is a peer dependency for io-ts

Usage


Stable features


- [index.ts module](index.md)

Experimental modules (version 2.2+)


Experimental modules (\*) are published in order to get early feedback from the community, see these tracking issues for further discussions and enhancements.

The experimental modules are independent and backward-incompatible with stable ones.

- [Decoder.ts module](Decoder.md)
- [Encoder.ts module](Encoder.md)
- [Codec.ts module](Codec.md)
- [Eq.ts module](Eq.md)
- [Schema.ts module (advanced feature)](Schema.md)

(\*) A feature tagged as _Experimental_ is in a high state of flux, you're at risk of it changing without notice.