MCPcopy Index your code
hub / github.com/gcanti/io-ts

github.com/gcanti/io-ts @2.2.22 sqlite

repository ↗ · DeepWiki ↗ · release 2.2.22 ↗
552 symbols 1,042 edges 74 files 4 documented · 1% 3 cross-repo links
README

build 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 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.

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

Extension points exported contracts — how you extend this code

A (Interface)
(no doc)
dtslint/Encoder.ts
Recursion1 (Interface)
(no doc)
dtslint/index.ts
Schema (Interface)
(no doc)
dtslint/Schema.ts
A (Interface)
(no doc)
test/Encoder.ts
JsonRecord (Interface)
(no doc)
test/Codec.ts
IntBrand (Interface)
(no doc)
test/Decoder.ts
IntBrand (Interface)
(no doc)
test/JsonSchema.test.ts
A (Interface)
(no doc)
test/Eq.ts

Core symbols most depended-on inside this repo

decode
called by 480
src/index.ts
assertSuccess
called by 160
test/2.1.x/helpers.ts
assertFailure
called by 118
test/2.1.x/helpers.ts
make
called by 32
dtslint/Schema.ts
success
called by 21
src/PathReporter.ts
compose
called by 20
src/Codec.ts
sum
called by 19
test/Arbitrary.ts
make
called by 19
src/Schema.ts

Shape

Function 274
Interface 154
Class 76
Method 48

Languages

TypeScript100%

Modules by API surface

src/index.ts209 symbols
src/Decoder.ts30 symbols
dtslint/index.ts26 symbols
src/Codec.ts25 symbols
src/TaskDecoder.ts23 symbols
src/Kleisli.ts23 symbols
src/Guard.ts18 symbols
src/Encoder.ts16 symbols
src/Schemable.ts15 symbols
src/DecodeError.ts15 symbols
test/Arbitrary.ts14 symbols
src/Type.ts14 symbols

Dependencies from manifests, versioned

@definitelytyped/dtslint0.0.163 · 1×
@types/benchmark1.0.31 · 1×
@types/glob7.1.3 · 1×
@types/node16.18.25 · 1×
@typescript-eslint/eslint-plugin5.59.0 · 1×
@vitest/coverage-istanbul0.23.4 · 1×
benchmark2.1.4 · 1×
docs-ts0.7.2 · 1×
eslint8.38.0 · 1×
eslint-plugin-deprecation1.4.1 · 1×

For agents

$ claude mcp add io-ts \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact