Superstruct
Composable validators for JavaScript and TypeScript values.
What it does
Composable validators for JavaScript and TypeScript values.
When it fits
Checking application input with small reusable data structures.
Other options in this category
- ArkType — Validating external data while keeping schema definitions close to static types.
- io-ts — Validating data at application boundaries in functional TypeScript code.
- Joi — Checking structured request payloads and configuration objects.
- T3 Env — Failing early when server or client configuration is missing or invalid.
- Yup — Defining form constraints and reusable object validation rules.
Source
Project source for Superstruct ↗
Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.