MCPcopy
hub / github.com/arktypeio/arktype

github.com/arktypeio/arktype @0.56.1 sqlite

repository ↗ · DeepWiki ↗ · release 0.56.1 ↗
1,737 symbols 5,620 edges 442 files 61 documented · 4%
README

ArkType

TypeScript's 1:1 validator, optimized from editor to runtime

ArkType is a runtime validation library that parses optimized validators from familiar, type-safe syntax. It can be used to check external data like JSON payloads or forms at the boundaries of your code (similar to Zod). ## Docs See our [docs site](https://arktype.io) ## Contributions We accept and encourage pull requests from outside ArkType. Planned work is tracked in [this GitHub project](https://github.com/orgs/arktypeio/projects/4). Depending on your level of familiarity with type systems and TS generics, some parts of the codebase may be hard to jump into. That said, there's plenty of opportunities for more straightforward contributions. We'd generally recommend starting with one of these issues labeled [external-contributor-friendly](https://github.com/orgs/arktypeio/projects/4/?filterQuery=label%3A%22external-contributor-friendly%22). If you're planning on submitting a non-trivial fix or a new feature, please [create an issue first](https://github.com/arktypeio/arktype/issues/new) so everyone's on the same page. The last thing we want is for you to spend time on a submission we're unable to merge. When you're ready, check out our [guide](./.github/CONTRIBUTING.md) to get started! ## License This project is licensed under the terms of the [MIT license](./LICENSE). ## Code of Conduct We will not tolerate any form of disrespect toward members of our community. Please refer to our [Code of Conduct](./.github/CODE_OF_CONDUCT.md) and reach out to david@arktype.io immediately if you've seen or experienced an interaction that may violate these standards. ## Sponsorship We've been working full-time on this project for multiple years and it means a lot to have the community behind us. If the project has been useful to you and you are in a financial position to do so, please chip in via [GitHub Sponsors](https://github.com/sponsors/arktypeio). Otherwise, consider sending me an email (david@arktype.io) or [message me on Discord](https://arktype.io/discord) to let me know you're a fan of ArkType. Either would make my day! ### ArkSponsors ⛵
mintlify get-convex inspatiallabs sam-goodwin
### Sponsors 🥰
tmm mewhhaha jahands drwpwrs Phalangers
WilliamConnatser JameEnder tylim88

Extension points exported contracts — how you extend this code

StringifiableType (Interface)
(no doc) [3 implementers]
ark/attest/cache/ts.ts
Type (Interface)
@ts-ignore cast variance
ark/type/variants/base.ts
ButtonProps (Interface)
(no doc)
ark/docs/components/Button.tsx
InternalModule (Interface)
(no doc)
ark/schema/module.ts
Regex (Interface)
(no doc)
ark/regex/regex.ts
Callable (Interface)
(no doc)
ark/util/functions.ts
ParsedAttestConfig (Interface)
(no doc)
ark/attest/config.ts
Type (Interface)
@ts-ignore cast variance
ark/type/variants/date.ts

Core symbols most depended-on inside this repo

type
called by 1291
ark/extension/arktype.scratch.ts
snap
called by 1195
ark/attest/assert/chainableAssertions.ts
equals
called by 870
ark/type/variants/base.ts
toString
called by 350
ark/attest/cache/ts.ts
map
called by 171
ark/type/variants/object.ts
errors
called by 157
ark/attest/assert/chainableAssertions.ts
throws
called by 149
ark/attest/assert/chainableAssertions.ts
export
called by 148
ark/type/scope.ts

Shape

Function 876
Method 376
Interface 277
Class 206
Enum 2

Languages

TypeScript100%

Modules by API surface

ark/schema/roots/root.ts81 symbols
ark/schema/scope.ts45 symbols
ark/schema/node.ts45 symbols
ark/attest/cli/trace.ts39 symbols
ark/schema/shared/compile.ts38 symbols
ark/schema/structure/structure.ts37 symbols
ark/schema/shared/errors.ts36 symbols
ark/schema/roots/union.ts30 symbols
ark/fs/fs.ts30 symbols
ark/type/variants/base.ts29 symbols
ark/attest/assert/chainableAssertions.ts27 symbols
ark/attest/cache/ts.ts25 symbols

Dependencies from manifests, versioned

@ark/attestlink:ark/attest · 1×
@ark/attest-ts-mincatalog: · 1×
@ark/attest-ts-nextcatalog: · 1×
@ark/fsworkspace:* · 1×
@ark/json-schemaworkspace:* · 1×
@ark/repoworkspace:* · 1×
@ark/schemaworkspace:* · 1×
@ark/utilworkspace:* · 1×
@eslint/js9.37.0 · 1×
@fumadocs/cli0.1.1 · 1×
@fumadocs/mdx-remote1.3.0 · 1×
@icons-pack/react-simple-icons12.7.0 · 1×

For agents

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

⬇ download graph artifact