json-schema-walker

JSON →
library 3.3.0 ·javascript
verified Jun 7, 2026

json-schema-walker v3.3.0 is a TypeScript library that traverses all schema objects in a JSON Schema document and invokes callbacks before/after visiting subschemas. It supports both async (with $ref resolution) and sync (without $ref) traversal, cloning, and multiple JSON Schema drafts (via vocabularies). Released under MIT, it is loosely based on CloudFlare's json-schema-tools. The library ships TypeScript types and requires Node >=17. Key differentiators include built-in $ref dereferencing with circular reference handling and a simple walker pattern.