json-schema
npmv0.4.0JSON 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.
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.
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| json-schemathis page | 0 | 2 | (AFL-2.1 OR BSD-3-Clause) | 4 years ago |
| fastify | 8.9M | 4 | MIT | 1 day ago |
| @fastify/merge-json-schemas | 0 | 1 | MIT | 1 day ago |
| json-schema-ref-resolver | 0 | 1 | MIT | 1 day ago |
| zod-to-json-schema | 0 | 1 | ISC | 1 day ago |
| fast-json-stringify | 0 | 3 | MIT | 1 day ago |
Dependencies
Declared by json-schema v0.4.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (1)
Used by
Popular packages that depend on json-schema.
Relationship graph
Dependencies (left) and dependents (right) of json-schema.
Frequently installed together
extended POSIX-style sprintf
richer JavaScript errors
TypeScript definitions for json-schema
Extra assertions on top of node's assert module
Release history
No releases in the last two years, typically about 484 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.4.0latest | 4 years ago | 25 KB | (AFL-2.1 OR BSD-3-Clause) |
| 0.3.0 | 5 years ago | 25 KB | (AFL-2.1 OR BSD-3-Clause) |
| 0.2.5 | 7 years ago | 25 KB | (AFL-2.1 OR BSD-3-Clause) |
| 0.2.4 | 7 years ago | 25 KB | (AFL-2.1 OR BSD-3-Clause) |
| 0.2.3 | 10 years ago | — | (AFL-2.1 OR BSD-3-Clause) |
| 0.2.2 | 14 years ago | — | (AFL-2.1 OR BSD-3-Clause) |
| 0.2.0 | 14 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
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.