A small family of TypeScript libraries built on the
Standard Schema spec — work with Zod, Valibot,
Arktype, and any other compliant validation library through one consistent API.
| Package |
Version |
Description |
standard-parse |
 |
Unified parse / safeParse / is API for any Standard Schema. |
standard-matchers |
 |
Test matchers (Vitest toMatchSchema) for any Standard Schema. |
Accept user-provided schemas without coupling to a specific validation library:
import * as s from "standard-parse"
const result = s.safeParse(schema, input)
See the standard-parse README.
Assert that a value matches a schema in your tests:
import "standard-matchers/vitest"
expect({ name: "Alice" }).toMatchSchema(schema)
See the standard-matchers README.
This is a pnpm workspace. Run scripts from the repo root;
they fan out across both packages.
| Task |
Command |
| Install |
pnpm install |
| Build |
pnpm build |
| Test |
pnpm test |
| Typecheck |
pnpm typecheck |
| Lint |
pnpm lint |
| Full check |
pnpm check |
Releases are managed with
changesets.
MIT © Catena Labs, Inc