json-stable-stringify-without-jsonify
npmv1.0.1deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results, with no public domain dependencies
Not recommended for new projects
No — json-stable-stringify-without-jsonify should not be adopted for new projects. Last published 3555 days ago.
- AAdoption: grade A, Excellent.
72.1M downloads per week and 1 known dependents.
- FMaintenance: grade F, Failing.
Last published 3555 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- 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-stable-stringify-without-jsonify 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
Quick start
A usage example from the json-stable-stringify-without-jsonify README.
var stringify = require('json-stable-stringify');
var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
console.log(stringify(obj));json-stable-stringify-without-jsonify 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-stable-stringify-without-jsonifythis page | 72.1M | 1 | MIT | 9 years ago |
| fast-json-stable-stringify | 137.5M | 2 | MIT | 1 day ago |
| json-stringify-safe | 36.4M | 1 | ISC | 1 day ago |
| jsesc | 0 | 1 | MIT | 1 day ago |
| fast-json-stringify | 0 | 3 | MIT | 1 day ago |
| type-fest | 337.8M | 6 | (MIT OR CC0-1.0) | 1 day ago |
Dependencies
Declared by json-stable-stringify-without-jsonify v1.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (1)
Used by
Popular packages that depend on json-stable-stringify-without-jsonify.
Relationship graph
Dependencies (left) and dependents (right) of json-stable-stringify-without-jsonify.
Frequently installed together
Runtime typescript and ESM support for Node.js
Constants and utilities about visitor keys to traverse AST.
Escape RegExp special characters
TypeScript definitions for estree
An AST-based pattern checker for JavaScript.
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
Prettier is an opinionated code formatter
Helper utilities for creating ESLint configuration
ECMAScript parsing infrastructure for multipurpose analysis
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.
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
Release history
No releases in the last two years.
| Version | Published | Size | License |
|---|---|---|---|
| 1.0.1latest | 9 years ago | — | MIT |
Overview
json-stable-stringify-without-jsonify is an npm package that deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results, with no public domain dependencies. It is extremely widely used, with about 72.1M downloads per week and 1 known dependents in the graph. The latest version is 1.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need deterministic JSON.stringify() with custom sorting to get deterministic hashes from stringified results, with no public domain dependencies and value a battle-tested, widely-adopted 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
- Large, well-established user base (72.1M weekly downloads).
- Clear open-source license (MIT).
- 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-stable-stringify-without-jsonify?
No — json-stable-stringify-without-jsonify should not be adopted for new projects. Last published 3555 days ago.
How do I install json-stable-stringify-without-jsonify?
Run `npm install json-stable-stringify-without-jsonify` to add json-stable-stringify-without-jsonify to your npm project.
What license is json-stable-stringify-without-jsonify released under?
json-stable-stringify-without-jsonify is distributed under the MIT license.
How popular is json-stable-stringify-without-jsonify?
json-stable-stringify-without-jsonify has approximately 72,067,262 downloads per week and 1 known dependent packages.
Is json-stable-stringify-without-jsonify still maintained?
The most recent release of json-stable-stringify-without-jsonify (v1.0.1) was published 9 years ago.
Does json-stable-stringify-without-jsonify run install scripts?
No. json-stable-stringify-without-jsonify does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.