Superstruct
A simple, composable, and powerful way to validate data structures in JavaScript and TypeScript applications.
Superstruct is built in TypeScript, distributed under the MIT License, 7.1k GitHub stars from 69 contributors, latest release v2.0.2.
When to use Superstruct
Superstruct is listed here as a Validation project. The directory calls out Composable validation, Supports JavaScript and TypeScript, Lightweight and fast as capabilities associated with it.
Other recorded traits for Superstruct include Extensible with custom validators, Detailed error messages.
Besides Validation, this page also files Superstruct under JavaScript, TypeScript, Development.
Superstruct compared with
Records in this directory name Joi, Yup, Zod as products people compare with Superstruct. That list is editorial metadata, not a claim that Superstruct replaces each of them.
What the Superstruct stats reflect
GitHub currently shows 7.1k GitHub stars, about 69 contributors, 220 forks, 98 open issues, latest tracked release v2.0.2. Star and activity counts here are a snapshot used as a proxy for community adoption, not a quality score.
Stats refreshed
- Language
- TypeScript
- Latest Release
- v2.0.2
- License
- MIT License
Our Newsletter
Get new Validation tools right in your inbox
Get short emails with useful validation projects, releases, and repos worth watching.
Key features of Superstruct
- Composable validation
- Supports JavaScript and TypeScript
- Lightweight and fast
- Extensible with custom validators
- Detailed error messages
Superstruct resources
Superstruct on GitHub
Frequently asked questions
What is Superstruct?
A simple, composable, and powerful way to validate data structures in JavaScript and TypeScript applications. This directory highlights Composable validation, Supports JavaScript and TypeScript, Lightweight and fast.
Is Superstruct free to use?
Superstruct is published as open source under the MIT License. The directory lists Composable validation, Supports JavaScript and TypeScript, Lightweight and fast among its recorded capabilities.
What language is Superstruct written in, and what is the latest release?
Superstruct is written primarily in TypeScript. The latest release tracked on this page is v2.0.2.
How widely is Superstruct used on GitHub?
Superstruct has about 7.1k GitHub stars across about 69 contributors. It also has about 220 forks. Those counts are a snapshot of community attention, not a ranking of quality.
What do people compare Superstruct with?
This directory records Joi, Yup, Zod as comparison points for Superstruct.
Related tools
Zod
Zod is a TypeScript-first schema validation library that provides static type inference, allowing developers to ensure type safety and accuracy in their code.
Normalizr
Normalizr is a powerful utility for normalizing complex nested JSON objects according to a defined schema, enhancing efficiency in data handling and state management.
Valibot
Valibot is a modular and type safe schema library designed for validating structural data with ease and reliability. 🤖
Is
A powerful library for type checking values, ensuring data integrity and type safety in JavaScript applications.
Zod-validation-error
A utility library that wraps Zod validation errors into clear, user-friendly readable messages for easier error handling in JavaScript and TypeScript applications.
Zod-i18n
A tool for translating error messages in the Zod validation library, enhancing internationalization support in JavaScript applications.