json-schema-it
JSON →json-schema-it is a lightweight, type-safe JSON Schema generator for JavaScript/TypeScript (v1.2.24, stable). It converts JavaScript values—primitives, objects, and arrays—into JSON Schema objects without custom options or configuration. It ships TypeScript types and supports both ESM and CJS. Key differentiators: zero dependencies, no configuration, and strictly clamps to standard JSON typeof types (e.g., null is not allowed). It throws on undefined, Symbol, and BigInt. Released via Release Please on GitHub with community maintenance under the Braze organization. Suitable for validation, documentation generation, and API schema inference.
Resources
packagejson-schema-it ↗