json-schema-deref-sync

JSON →
library 0.14.0 ·javascript
verified Jun 7, 2026

A synchronous Node.js library to dereference $ref pointers in JSON Schema documents, resolving local and file-based references to their actual values. Current stable version is 0.14.0, with low release cadence (last update in 2019). It is a lighter alternative to json-schema-deref, omitting web references and working synchronously. Useful for expanding JSON Schemas at build time or in synchronous contexts. Supports options like baseFolder, failOnMissing, mergeAdditionalProperties, removeIds, and custom loaders.