io-ts

TypeScript runtime type system for IO decoding/encoding

Usage no npm install needed!

<script type="module">
  import ioTs from 'https://cdn.skypack.dev/io-ts';
</script>

README

build status dependency status npm downloads

Installation

To install the stable version

npm i io-ts fp-ts

Note. fp-ts is a peer dependency for io-ts

Usage

Stable features

Experimental features (version 2.2+)

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

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