Superstruct
TypeScript and JavaScript validation library that checks runtime data against composable struct definitions and reports detailed errors.
docs.superstructjs.orgrepositorydocs
Superstruct validates JavaScript and TypeScript data against struct definitions. A struct describes the expected shape of a value, and structs can be composed into larger ones. The README says the library is designed for checking data at runtime, and that it throws or returns detailed errors for the code that receives the data.
The changelog says maintenance has moved to a volunteer team. The README names joi, express-validator, validator.js, yup, ajv and is-my-json-valid as existing validation libraries and gives its reasons for another one.
Worth knowing
The changelog marks use with an older Node.js line as deprecated.
Identity
- Status
- Active
- Maintainer
- Ian Storm Taylor3
- Maintained by
- Individual3
- First release
- 201710
Rendering and deploy
Releases
Adoption
Sources
- 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/ianstormtaylor/superstruct - 2026-11-16: links, Categories
raw.githubusercontent.com/ianstormtaylor/superstruct/main/Readme.md - 2026-11-16: Maintainer, Maintained by
raw.githubusercontent.com/ianstormtaylor/superstruct/main/License.md - 2026-11-16: Runtime
raw.githubusercontent.com/ianstormtaylor/superstruct/main/Changelog.md - 2026-11-16: Runtime
api.jsr.io/scopes/superstruct/packages/core - 2026-11-16: Minimum runtime
raw.githubusercontent.com/ianstormtaylor/superstruct/v2.0.2/package.json - 2026-11-16: Install with
docs.superstructjs.org/guides/01-getting-started - 2026-11-16: Install with
jsr.io/@superstruct/core/meta.json - 2026-11-16: Current major version, Last release
api.github.com/repos/ianstormtaylor/superstruct/releases - 2026-11-16: First release
registry.npmjs.org/superstruct - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/superstruct - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/superstruct - 2026-11-16: Contributors
api.github.com/repos/ianstormtaylor/superstruct/contributors?per_page=1