{"repo":"APIDevTools/json-schema-ref-parser","free":true,"listed":false,"github":"https://github.com/APIDevTools/json-schema-ref-parser","clone":"git clone https://github.com/APIDevTools/json-schema-ref-parser.git","description":"Parse, Resolve, and Dereference JSON Schema $ref pointers in Node and browsers","language":"TypeScript","stars":1112,"topics":["javascript","nodejs","json-schema","json-reference","json-pointer","resolver","parser","universal-javascript","openapi"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"JSON Schema $Ref Parser Parse, Resolve, and Dereference JSON Schema $ref pointers Installation Install using npm: The Problem: You've got a JSON Schema with $ref pointers to other files and/or URLs. Maybe you know all the referenced files ahead of time. Maybe you don't. Maybe some are local files, and others are remote URLs. Maybe they are a mix of JSON and YAML format. Maybe some of the files contain cross-references to each other. The Solution: JSON Schema $Ref Parser is a full JSON Reference and JSON Pointer implementation that crawls even the most complex JSON Schemas and gives you simple, straightforward JavaScript objects. - Use JSON or YAML schemas &mdash; or even a mix of both! - Supports $ref pointers to external files and URLs, as well as custom sources such as databases - Can bundle multiple files into a single schema that only has internal $ref pointers - Can dereference your schema, producing a plain-old JavaScript object that's easy to work with - Supports circular references, nested references, back-references, and cross-references between files - Maintains object reference equality &mdash; $ref pointers to the same value always resolve to the same object instance - Compatible with Node LTS and beyond, and all major web browsers on Windows, Mac, and Linux Example For more detailed examples, please see the API Documentation Polyfills If you are using Node.js git clone https://github.com/APIDevTools/json-schema-ref-parser.git 2. Install dependencies pnpm install ","default_branch":null,"files":null,"tree":[],"storefront":"/r/APIDevTools","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/APIDevTools/json-schema-ref-parser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}