fast-json-stable-stringify
npmv2.1.0TypeScriptdeterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify
Not recommended for new projects
No — fast-json-stable-stringify should not be adopted for new projects. Last published 2461 days ago.
- AAdoption: grade A, Excellent.
137.5M downloads per week and 2 known dependents.
- FMaintenance: grade F, Failing.
Last published 2461 days ago.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 17 KB installed.
- 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 fast-json-stable-stringify 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
- Types included
- Install scripts
- None
Quick start
A usage example from the fast-json-stable-stringify README.
var stringify = require('fast-json-stable-stringify');
var obj = { c: 8, b: [{z:6,y:5,x:4},7], a: 3 };
console.log(stringify(obj));fast-json-stable-stringify 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 |
|---|---|---|---|---|
| fast-json-stable-stringifythis page | 137.5M | 2 | MIT | 6 years ago |
| json-stable-stringify-without-jsonify | 72.1M | 1 | 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 fast-json-stable-stringify v2.1.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (9)
Used by
Popular packages that depend on fast-json-stable-stringify.
Relationship graph
Dependencies (left) and dependents (right) of fast-json-stable-stringify.
Frequently installed together
This packages is a collection of utilities and helper functions
Convert Windows backslash paths to slash paths
`jest-haste-map` is a module used by Jest, a popular JavaScript testing framework, to create a fast lookup of files in a project. It helps Jest efficiently locate and track changes in files during testing, making it particularly useful for large projects
This package contains shared types of Jest's packages.
A drop-in replacement for fs, making various improvements.
No description provided.
No description provided.
Generic configuration validation tool that helps you with warnings, errors and deprecation messages as well as showing users examples of correct configuration.
No description provided.
Jest's reporters
A module used internally by Jest to check which files have changed since you last committed in git or hg.
No description provided.
Release history
No releases in the last two years, typically about 781 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.1.0latest | 6 years ago | 17 KB | MIT |
| 2.0.0 | 9 years ago | — | MIT |
| 1.0.2 | 9 years ago | — | MIT |
Overview
fast-json-stable-stringify is an npm package that deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify. It is extremely widely used, with about 137.5M downloads per week and 2 known dependents in the graph. The latest version is 2.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need deterministic `JSON.stringify()` - a faster version of substack's json-stable-strigify without jsonify and value a battle-tested, widely-adopted 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
- Large, well-established user base (137.5M weekly downloads).
- 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
Frequently asked questions
Should I use fast-json-stable-stringify?
No — fast-json-stable-stringify should not be adopted for new projects. Last published 2461 days ago.
How do I install fast-json-stable-stringify?
Run `npm install fast-json-stable-stringify` to add fast-json-stable-stringify to your npm project.
What license is fast-json-stable-stringify released under?
fast-json-stable-stringify is distributed under the MIT license.
How popular is fast-json-stable-stringify?
fast-json-stable-stringify has approximately 137,533,391 downloads per week and 2 known dependent packages.
Is fast-json-stable-stringify still maintained?
The most recent release of fast-json-stable-stringify (v2.1.0) was published 6 years ago.
Does fast-json-stable-stringify run install scripts?
No. fast-json-stable-stringify does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.