json-schema-ref-resolver
npmv3.0.0TypeScriptJSON schema reference resolver
Adopt with care
json-schema-ref-resolver is usable, with caveats. Last published 550 days ago. 2 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- CMaintenance: grade C, Fair — worth a look.
Last published 550 days ago. 2 releases in the last 2 years.
- AWeight: grade A, Excellent.
Pulls in 1 transitive package, about 71 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 10 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding json-schema-ref-resolver to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Licenses in the dependency tree
Every license you inherit by installing json-schema-ref-resolver, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the json-schema-ref-resolver README.
const assert = require('node:assert')
const { RefResolver } = require('json-schema-ref-resolver')
const sourceSchema = {
$id: 'sourceSchema',
type: 'object',
properties: {
foo: {
$ref: 'targetSchema#/definitions/bar'
}
}
}
const targetSchema = {json-schema-ref-resolver vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| json-schema-ref-resolverthis page | 0 | 1 | MIT | 1 year ago |
| fastify | 8.9M | 4 | MIT | 8 hours ago |
| @fastify/merge-json-schemas | 0 | 1 | MIT | 19 hours ago |
| zod-to-json-schema | 0 | 1 | ISC | 15 hours ago |
| fast-json-stringify | 0 | 3 | MIT | 19 hours ago |
| json-schema | 0 | 2 | (AFL-2.1 OR BSD-3-Clause) | 17 hours ago |
Dependencies
Declared by json-schema-ref-resolver v3.0.0. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (1)
Dev (5)
Used by
Popular packages that depend on json-schema-ref-resolver.
Relationship graph
Dependencies (left) and dependents (right) of json-schema-ref-resolver.
Frequently installed together
An AST-based pattern checker for JavaScript.
Packs ECMAScript/CommonJs/AMD modules for the browser. Allows you to split your codebase into multiple bundles, which can be loaded on demand. Supports loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
Really Fast Deep Clone
Dependency-free RFC 3986 URI toolbox
Stringify your JSON at max speed
🔎 A simple, tiny and lightweight benchmarking library!
Builds a logical conjunction (AND) of multiple JSON schemas
Release history
2 releases in the last two years, typically about 133 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 3.0.0latest | 1 year ago | 57 KB | MIT |
| 2.0.1 | 1 year ago | 57 KB | MIT |
| 2.0.0 | 2 years ago | 56 KB | MIT |
| 1.0.1 | 2 years ago | 55 KB | MIT |
| 1.0.0 | 2 years ago | 53 KB | MIT |
Overview
json-schema-ref-resolver is an npm package that jSON schema reference resolver. It has 1 known dependents in the graph. The latest version is 3.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need jSON schema reference resolver and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use json-schema-ref-resolver?
json-schema-ref-resolver is usable, with caveats. Last published 550 days ago. 2 releases in the last 2 years.
How do I install json-schema-ref-resolver?
Run `npm install json-schema-ref-resolver` to add json-schema-ref-resolver to your npm project.
How many dependencies does json-schema-ref-resolver have?
json-schema-ref-resolver declares 6 direct dependencies and pulls in 1 packages in total once its runtime tree is resolved totalling about 71 KB on disk.
What license is json-schema-ref-resolver released under?
json-schema-ref-resolver is distributed under the MIT license.
How popular is json-schema-ref-resolver?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on json-schema-ref-resolver.
Is json-schema-ref-resolver still maintained?
The most recent release of json-schema-ref-resolver (v3.0.0) was published 1 year ago.
Does json-schema-ref-resolver run install scripts?
No. json-schema-ref-resolver does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.