</>PackageGraphPackageGraph

fast-json-stable-stringify

npmv2.1.0TypeScript

deterministic `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.

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.

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

PackageWeekly downloadsDependentsLicenseLast release
fast-json-stable-stringifythis page137.5M2MIT6 years ago
json-stable-stringify-without-jsonify72.1M1MIT1 day ago
json-stringify-safe36.4M1ISC1 day ago
jsesc01MIT1 day ago
fast-json-stringify03MIT1 day ago
type-fest337.8M6(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)

benchmark ^2.1.4coveralls ^3.0.0eslint ^6.7.0fast-stable-stringify latestfaster-stable-stringify latestjson-stable-stringify latestnyc ^14.1.0pre-commit ^1.2.2tape ^4.11.0

Used by

Popular packages that depend on fast-json-stable-stringify.

Relationship graph

Dependencies (left) and dependents (right) of fast-json-stable-stringify.

@jest/core@jest/transformfast-json-stable-…
fast-json-stable-stringify dependencies dependents

Frequently installed together

Release history

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

Recent versions of fast-json-stable-stringify
VersionPublishedSizeLicense
2.1.0latest6 years ago17 KBMIT
2.0.09 years agoMIT
1.0.29 years agoMIT

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

Keywords

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.