$ npm install @socketregistry/json-stable-stringifyAn enhanced and tested zero dependency drop-in replacement of
json-stable-stringifycomplete with TypeScript types.
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 with your favorite package manager.
npm install @socketregistry/json-stable-stringify
Node >= 18.20.4