{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/typebox/","markdown":"https://findsoftware.frbit.cloud/typebox.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":"typebox","name":"TypeBox","urls":{"home":"https://sinclairzx81.github.io/typebox/","repository":"https://github.com/sinclairzx81/typebox","docs":"https://sinclairzx81.github.io/typebox/"},"category":["library"],"description":"Runtime type system for TypeScript that builds JSON Schema objects which infer as TypeScript types and validate data.","maintainer":"Haydn Paterson","maintainerType":"individual","firstRelease":2021,"language":"javascript","contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":"multiple languages","runsAs":null,"renderingModes":null,"installMethod":"npm","licenseModel":"open-source","license":"MIT","currentMajor":"1","latestReleaseDate":"2026-11-12T00:00:00.000Z","githubStargazers":7039,"contributors":62,"packagistDownloads":null,"npmWeeklyDownloads":16559544,"dependentRepos":1,"dependentPackages":1,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/sinclairzx81/typebox","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://api.github.com/repos/sinclairzx81/typebox","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://raw.githubusercontent.com/sinclairzx81/typebox/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/sinclairzx81/typebox","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://raw.githubusercontent.com/sinclairzx81/typebox/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://raw.githubusercontent.com/sinclairzx81/typebox/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://raw.githubusercontent.com/sinclairzx81/typebox/main/readme.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"i18n","url":"https://github.com/sinclairzx81/typebox/blob/main/docs/docs/system/2_locale.html","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://raw.githubusercontent.com/sinclairzx81/typebox/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://raw.githubusercontent.com/sinclairzx81/typebox/main/license","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://registry.npmjs.org/typebox","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/sinclairzx81/typebox/commits/0.17.7","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://registry.npmjs.org/typebox","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"npmWeeklyDownloads","url":"https://api.npmjs.org/downloads/range/2026-11-01:2026-11-07/typebox","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/sinclairzx81/typebox","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/sinclairzx81/typebox/contributors","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typebox","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/typebox","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"active","ai":"authored"},"prose":"TypeBox is a TypeScript library that builds JSON Schema objects in memory and infers the matching TypeScript type from each one. One definition can therefore be checked statically by TypeScript and at runtime with standard JSON Schema validation.\n\nThe package also includes a Script engine that converts TypeScript type definitions written as text into JSON Schema, and a compiler submodule that checks values against a compiled schema. The README names REST and RPC services as a place to validate data received over the wire.\n\n## Worth knowing\n\nThe 1.x line is ESM only. The 0.x line is kept under long-term support in a separate repository and supports both ESM and CommonJS."}