io-ts-types for Deno 🦕
io-ts-types is a library for codecs and combinators for use with io-ts.
Unfortunately io-ts-types is not available for Deno, because:
- io-ts's Gcanti does not want to support Deno (yet)
- Esm.sh keeps breaking and doesn't support all types (Jul 2022)
- Skypack fails to support io-ts (Jul 2022)
This repo is the first working Deno port I am aware of. Feel free to open an issue here if you experience any problems.
the monocle-ts and newtypes-ts dependencies are removed, i.e.
getLenses
andfromNewTypes
is not available in this repo.
io-ts
for Deno is also available.
Note: This package is only available for version
io-ts-types@0.5.16
for now
import * as IOT from 'https://raw.githubusercontent.com/michaelhirn/io-ts-types/master/lib/index.ts'
- setup deno.land/x CI/CD