</>PackageGraphPackageGraph

json-stable-stringify-without-jsonify

npmv1.0.1

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

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.

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

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.

PackageWeekly downloadsDependentsLicenseLast release
json-stable-stringify-without-jsonifythis page72.1M1MIT9 years ago
fast-json-stable-stringify137.5M2MIT1 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 json-stable-stringify-without-jsonify v1.0.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (1)

tape ~1.0.4

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.

eslintjson-stable-strin…
json-stable-stringify-without-jsonify dependencies dependents

Frequently installed together

jitinpm

Runtime typescript and ESM support for Node.js

0/wk15 dependentsMITTS
eslint-visitor-keysnpm

Constants and utilities about visitor keys to traverse AST.

340.8M/wk4 dependentsApache-2.0TS
escape-string-regexpnpm

Escape RegExp special characters

316.5M/wk8 dependentsMIT
@types/estreenpm

TypeScript definitions for estree

152.1M/wk12 dependentsMITTS
eslintnpm

An AST-based pattern checker for JavaScript.

138.4M/wk279 dependentsMITTS
is-globnpm

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

137.4M/wk3 dependentsMIT
file-entry-cachenpm

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

134.5M/wk1 dependentsMITTS
prettiernpm

Prettier is an opinionated code formatter

114.2M/wk159 dependentsMITTS
@eslint/config-helpersnpm

Helper utilities for creating ESLint configuration

96M/wk1 dependentsApache-2.0TS
esprimanpm

ECMAScript parsing infrastructure for multipurpose analysis

77.6M/wk5 dependentsBSD-2-Clause
webpacknpm

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.

49.8M/wk29 dependentsMITTS
cheerionpm

The fast, flexible & elegant library for parsing and manipulating HTML and XML.

24.1M/wk5 dependentsMITTS

Release history

No releases in the last two years.

Recent versions of json-stable-stringify-without-jsonify
VersionPublishedSizeLicense
1.0.1latest9 years agoMIT

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

Keywords

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.