Runtime type system for IO decoding/encoding
To install the stable version
npm i io-ts fp-tsNote. fp-ts is a peer dependency for io-ts
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 moduleEncoder.ts moduleCodec.ts moduleEq.ts moduleSchema.ts module (advanced feature)(*) A feature tagged as Experimental is in a high state of flux, you're at risk of it changing without notice.
Is there a way to write a codec that fails on additional properties?
Subpath imports in ESM mode
Variadic definitions for `intersection`
Support for Standard Schema
Any plans to replace fp-ts with effect?
How to get a list of validated elements
Behavior changes and types are incorrect based on `intersection` array order
Is it possible to use it with typescript without `nodenex` config option?
Backport the Typescript 4.8+ fixes to io-ts 2.1.3
With Angular 15.x it's giving following error