{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/superstruct/","markdown":"https://findsoftware.frbit.cloud/superstruct.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"superstruct","name":"Superstruct","urls":{"home":"https://docs.superstructjs.org","repository":"https://github.com/ianstormtaylor/superstruct","docs":"https://docs.superstructjs.org"},"category":["library"],"description":"TypeScript and JavaScript validation library that checks runtime data against composable struct definitions and reports detailed errors.","maintainer":"Ian Storm Taylor","maintainerType":"individual","firstRelease":2017,"hosting":["node","deno","bun"],"language":"javascript","runtime":["node","deno","bun"],"runtimeMin":"node 14","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"runsAs":null,"renderingModes":null,"installMethod":"npm, script tag, jsr","licenseModel":"open-source","license":"MIT","currentMajor":"2","latestReleaseDate":"2024-07-06T00:00:00.000Z","githubStargazers":7124,"contributors":66,"packagistDownloads":null,"npmWeeklyDownloads":9627699,"dependentRepos":17088,"dependentPackages":589,"social":{"discord":"https://discord.gg/pdHrQBjQ96","forum":"https://github.com/ianstormtaylor/superstruct/discussions"},"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/ianstormtaylor/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/ianstormtaylor/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://raw.githubusercontent.com/ianstormtaylor/superstruct/main/Readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/ianstormtaylor/superstruct/main/License.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainerType","url":"https://raw.githubusercontent.com/ianstormtaylor/superstruct/main/License.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/ianstormtaylor/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/ianstormtaylor/superstruct/main/Readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://raw.githubusercontent.com/ianstormtaylor/superstruct/main/Changelog.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://api.jsr.io/scopes/superstruct/packages/core","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtimeMin","url":"https://raw.githubusercontent.com/ianstormtaylor/superstruct/v2.0.2/package.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://docs.superstructjs.org/guides/01-getting-started","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://docs.superstructjs.org/guides/01-getting-started","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://jsr.io/@superstruct/core/meta.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://api.github.com/repos/ianstormtaylor/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://api.github.com/repos/ianstormtaylor/superstruct/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://api.github.com/repos/ianstormtaylor/superstruct/releases","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://registry.npmjs.org/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/ianstormtaylor/superstruct","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/ianstormtaylor/superstruct/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"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.\n\nThe 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.\n\n## Worth knowing\n\nThe changelog marks use with an older Node.js line as deprecated."}