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.
Traffic · last 30 days stale · no recent hits
total hits 14
actors 3 distinct systems
last hit 22d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · SN
Resources
packagejson-schema-it ↗