Resolves $ref pointers in JSON Schema documents by replacing them with the referenced schemas. This package (simple-json-schema-deref 0.1.0) is an early-stage library with no recent updates, last published to npm in 2015. It is a lightweight alternative to full JSON Schema processing libraries, focusing solely on dereferencing. The API is minimal: a single function that takes a schema object and returns the resolved schema. It supports Node.js, AngularJS, and browser via a global. No TypeScript types included.
npm install simple-json-schema-derefNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic dereferencing of a JSON Schema with $ref pointers in Node.js.
Consider using @apidevtools/json-schema-ref-parser or json-schema-ref-parser for modern JSON Schema support.
Use a bundler like webpack with a single compatible import to avoid confusion.
For external resolution, use json-schema-ref-parser.
Use CommonJS require: const jsDeref = require('json-schema-deref');npm install json-schema-deref
No dependency data recorded yet.