deref

JSON →
library 0.7.6 ·javascript
verified Jun 7, 2026

A lightweight library for resolving JSON Schema $ref pointers. Current stable version is 0.7.6. It normalizes schema IDs (converts to full URIs), handles circular references, and optionally fully dereferences all nested $refs. Unlike heavier alternatives like json-schema-ref-parser, deref is minimal and synchronous, making it suitable for Node.js and browser environments where remote fetching is not required. Note: it does not fetch remote schemas; all schemas must be provided locally.