@socketregistry/json-stable-stringify

An enhanced and tested zero dependency drop-in replacement of
json-stable-stringify
complete with TypeScript types.
Enhancements
Installation
Install as a package override
socket CLI will automagically ✨
populate
overrides
and resolutions of
your package.json.
npx socket optimize
Prefer to do it yourself? Add @socketregistry/json-stable-stringify to your
package.json.
{
"overrides": {
"json-stable-stringify": "npm:@socketregistry/json-stable-stringify@^1"
},
"resolutions": {
"json-stable-stringify": "npm:@socketregistry/json-stable-stringify@^1"
}
}
Install as a plain dependency
Install with your favorite package manager.
npm install @socketregistry/json-stable-stringify
Requirements
Node >= 18.20.4