</>PackageGraphPackageGraph

json-schema-ref-resolver

npmv3.0.0TypeScript

JSON 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.

1
Direct dependencies

Runtime packages this one declares itself.

1
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

71 KB
Install size

Unpacked size of this package plus its entire runtime tree.

1
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

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.

javascriptFull 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 = {
Example truncated — see the full README.

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.

PackageWeekly downloadsDependentsLicenseLast release
json-schema-ref-resolverthis page01MIT1 year ago
fastify8.9M4MIT8 hours ago
@fastify/merge-json-schemas01MIT19 hours ago
zod-to-json-schema01ISC15 hours ago
fast-json-stringify03MIT19 hours ago
json-schema02(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)

@fastify/pre-commit ^2.1.0c8 ^10.1.3eslint ^9.17.0neostandard ^0.12.0tsd ^0.31.0

Used by

Popular packages that depend on json-schema-ref-resolver.

Relationship graph

Dependencies (left) and dependents (right) of json-schema-ref-resolver.

dequalfast-json-stringi…json-schema-ref-r…
json-schema-ref-resolver dependencies dependents

Frequently installed together

Release history

2 releases in the last two years, typically about 133 days apart.

Recent versions of json-schema-ref-resolver
VersionPublishedSizeLicense
3.0.0latest1 year ago57 KBMIT
2.0.11 year ago57 KBMIT
2.0.02 years ago56 KBMIT
1.0.12 years ago55 KBMIT
1.0.02 years ago53 KBMIT

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

Keywords

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.