Gathering detailed insights and metrics for @types/json-stable-stringify-without-jsonify
Gathering detailed insights and metrics for @types/json-stable-stringify-without-jsonify
Gathering detailed insights and metrics for @types/json-stable-stringify-without-jsonify
Gathering detailed insights and metrics for @types/json-stable-stringify-without-jsonify
The repository for high quality TypeScript type definitions.
npm install @types/json-stable-stringify-without-jsonify
Typescript
Module System
97
Supply Chain
82.9
Quality
75.2
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
3,107,924
Last Day
5,274
Last Week
28,917
Last Month
118,197
Last Year
984,742
NOASSERTION License
49,658 Stars
89,243 Commits
30,384 Forks
644 Watchers
5 Branches
9,956 Contributors
Updated on Apr 30, 2025
Latest Version
1.0.2
Package Id
@types/json-stable-stringify-without-jsonify@1.0.2
Unpacked Size
4.69 kB
Size
1.89 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
53.5%
5,274
Compared to previous day
Last Week
16.6%
28,917
Compared to previous week
Last Month
0.8%
118,197
Compared to previous month
Last Year
-23.8%
984,742
Compared to previous year
npm install --save @types/json-stable-stringify-without-jsonify
This package contains type definitions for json-stable-stringify-without-jsonify (https://github.com/samn/json-stable-stringify).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-stable-stringify-without-jsonify.
1/** 2 * Deterministic version of JSON.stringify() so you can get a consistent hash from stringified results. 3 * 4 * @returns Deterministic json result. 5 */ 6declare function stringify(obj: any, opts?: stringify.Comparator | stringify.Options): string; 7 8declare namespace stringify { 9 interface Element { 10 key: string; 11 value: any; 12 } 13 14 type Comparator = (a: Element, b: Element) => number; 15 16 type Replacer = (key: string, value: any) => any; 17 18 interface Options { 19 /** 20 * Custom comparator for key 21 */ 22 cmp?: Comparator; 23 24 /** 25 * Indent the output for pretty-printing. 26 * 27 * Supported is either a string or a number of spaces. 28 */ 29 space?: string | number; 30 31 /** 32 * Option to replace values to simpler values 33 */ 34 replacer?: Replacer; 35 36 /** 37 * true to allow cycles, by marking the entries as __cycle__. 38 */ 39 cycles?: boolean; 40 } 41} 42 43export = stringify; 44
These definitions were written by David Wheatley.
No vulnerabilities found.
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 29/30 approved changesets -- score normalized to 9
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-04-28
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More