</>PackageGraphPackageGraph

json-schema

npmv0.4.0

JSON Schema validation and specifications

Not recommended for new projects

No — json-schema should not be adopted for new projects. Last published 1766 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1766 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 25 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    (AFL-2.1 OR BSD-3-Clause) — 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 to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

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

25 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

json-schema 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-schemathis page02(AFL-2.1 OR BSD-3-Clause)4 years ago
fastify8.9M4MIT1 day ago
@fastify/merge-json-schemas01MIT1 day ago
json-schema-ref-resolver01MIT1 day ago
zod-to-json-schema01ISC1 day ago
fast-json-stringify03MIT1 day ago

Dependencies

Declared by json-schema v0.4.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (1)

vows *

Used by

Popular packages that depend on json-schema.

Relationship graph

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

jsprim@eslint/corejson-schema
json-schema dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 484 days apart.

Recent versions of json-schema
VersionPublishedSizeLicense
0.4.0latest4 years ago25 KB(AFL-2.1 OR BSD-3-Clause)
0.3.05 years ago25 KB(AFL-2.1 OR BSD-3-Clause)
0.2.57 years ago25 KB(AFL-2.1 OR BSD-3-Clause)
0.2.47 years ago25 KB(AFL-2.1 OR BSD-3-Clause)
0.2.310 years ago(AFL-2.1 OR BSD-3-Clause)
0.2.214 years ago(AFL-2.1 OR BSD-3-Clause)
0.2.014 years ago(AFL-2.1 OR BSD-3-Clause)

Overview

json-schema is an npm package that jSON Schema validation and specifications. It has 2 known dependents in the graph. The latest version is 0.4.0, released under the (AFL-2.1 OR BSD-3-Clause) license.

Who should use it

Teams working in the npm ecosystem who need jSON Schema validation and specifications and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license ((AFL-2.1 OR BSD-3-Clause)).
  • Lean dependency tree (1 direct dependencies).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use json-schema?

No — json-schema should not be adopted for new projects. Last published 1766 days ago.

How do I install json-schema?

Run `npm install json-schema` to add json-schema to your npm project.

What license is json-schema released under?

json-schema is distributed under the (AFL-2.1 OR BSD-3-Clause) license.

How popular is json-schema?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on json-schema.

Is json-schema still maintained?

The most recent release of json-schema (v0.4.0) was published 4 years ago.

Does json-schema run install scripts?

No. json-schema does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.