{"_id":"json-sorted-stringify","_rev":"3-2f7c16a24b1010b08b27b537ef8cb39e","name":"json-sorted-stringify","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"json-sorted-stringify","version":"1.0.0","keywords":["json","sorted","stable","stringify"],"_id":"json-sorted-stringify@1.0.0","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/json-sorted-stringify#readme","bugs":{"url":"https://github.com/fabiospampinato/json-sorted-stringify/issues"},"dist":{"shasum":"29b39af4e69d74e56bf4f689ba01645757f47175","tarball":"https://registry.npmjs.org/json-sorted-stringify/-/json-sorted-stringify-1.0.0.tgz","fileCount":10,"integrity":"sha512-r27DgPdI80AXd6Hm0zJ7nPCYTBFUersR7sn7xcYyafvcgYOvwmCXB+DKWazAe0YaCNHbxH5Qzt7AIhUzPD1ETg==","signatures":[{"sig":"MEUCIFvclxnReLzN1mvsF3BDMgQkHvOr5Ra3Ox5fJPWBxtw6AiEAvQwdE6WNOHhUuGQirVEqn+CV99yY5x6c9hNTSbbOXFE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8A8wACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0zw/+KeZ6yhgjTS9pdAUWJ0R0+f9DT0TSWCV6pPCRw3h3/x5hBMJV\r\nOYleT6YvMC0TQ+rla2//hx5rnblTdKhouCC5DGhiFsI8c1uGfWSzgf6k7Vi8\r\niYeSuGtpOr2oEi3AdYx81Oes+qztPEttYqBs0tyHjwckWmUIjG7gWvV4K7yi\r\n8LHFC8t+ICgBc6R7OvDvCJUB5CcZtGf0UPwDezh5Rw02IVNqtjUzOkfVovuF\r\nBhHinnYZaYtuquZZNR44iOE9SbVfy0IB+US/GceGB09hGpU+nz9a3yy8xjWt\r\nDYGKlkiirqELPB/azNzJIcxa5oqh80q4IopiGL4c5QeUEvbWnwMRoYQF1in1\r\nyav0n5BPyx61Io2dtWpV9UJ13O7vdJ2aG0Y1OmyvYPAst2b+bZL3QgkXUkyO\r\niEQ8eQVnJkDE2Q4R+Dc1WNuEKnaZnOk1Amot4ws0VuTQOsqEwtOY/n0LMFzJ\r\n5HXGrO8UU9MvMNUrYpG994FF12ojH+P6Tc6BudHRHnWutngBjlb2GJG6YBZt\r\nrKwTCAu8/lG8En2lJD7pTbzPZlWgXRBLN0fN87aAE/n9+5C2fJy8CSsttr0L\r\nE4nN9dJeZ/e4cQBFPvYJ7mP6jlHATZX+21S6IWXC6/nvkdoHaR56Wx3ncsOY\r\nJ45zdfAXZO38dobjIPGOw15ySkGnN+U143w=\r\n=zKJg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","benchmark":"tsex benchmark","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare","benchmark:watch":"tsex benchmark --watch","benchmark:update":"npm run benchmark:update:small && npm run benchmark:update:medium && npm run benchmark:update:large","benchmark:update:large":"wget https://raw.githubusercontent.com/zemirco/sf-city-lots-json/master/citylots.json -O tasks/large.json","benchmark:update:small":"wget https://raw.githubusercontent.com/fraunhoferfokus/JSum/master/benchmark/fixtures/small.json -O tasks/small.json","benchmark:update:medium":"wget https://raw.githubusercontent.com/fraunhoferfokus/JSum/master/benchmark/fixtures/medium.json -O tasks/medium.json"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/json-sorted-stringify.git","type":"git"},"_npmVersion":"8.19.2","description":"Alternative JSON.stringify function with sorted keys, so the output is stable.","directories":{},"_nodeVersion":"18.12.0","_hasShrinkwrap":false,"devDependencies":{"fava":"^0.2.0","tsex":"^2.2.0","benchloop":"^2.0.0","typescript":"^4.9.5"},"_npmOperationalInternal":{"tmp":"tmp/json-sorted-stringify_1.0.0_1676676911920_0.34428061807293564","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"json-sorted-stringify","version":"1.0.1","keywords":["json","sorted","stable","stringify"],"license":"MIT","_id":"json-sorted-stringify@1.0.1","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"homepage":"https://github.com/fabiospampinato/json-sorted-stringify#readme","bugs":{"url":"https://github.com/fabiospampinato/json-sorted-stringify/issues"},"dist":{"shasum":"4ce5784f4cb166a3e5816b83ab693e671948cf10","tarball":"https://registry.npmjs.org/json-sorted-stringify/-/json-sorted-stringify-1.0.1.tgz","fileCount":5,"integrity":"sha512-pWv9hqWho37EpwpBgqDYVPKPCgT/ytuvqtlBvb6M44BrnvooTk/5D/aSeohsGDLp+g8waP5dUUGODR+Ley+Idg==","signatures":[{"sig":"MEYCIQDOHMuK5I0JgrTan9/BFFXrwEeq40Ov01cQn2sVjhPt/gIhAMWntc/Wfiwon8Mgub3JWl4T/5f3Y0k5epg4qSN7aZ3A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3534},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","exports":"./dist/index.js","gitHead":"f9ec5b50522bc4051d5175b33f76077a2d00781d","scripts":{"test":"tsex test","clean":"tsex clean","compile":"tsex compile","benchmark":"tsex benchmark","test:watch":"tsex test --watch","compile:watch":"tsex compile --watch","prepublishOnly":"tsex prepare","benchmark:watch":"tsex benchmark --watch","benchmark:update":"npm run benchmark:update:small && npm run benchmark:update:medium && npm run benchmark:update:large","benchmark:update:large":"wget https://raw.githubusercontent.com/zemirco/sf-city-lots-json/master/citylots.json -O tasks/large.json","benchmark:update:small":"wget https://raw.githubusercontent.com/fraunhoferfokus/JSum/master/benchmark/fixtures/small.json -O tasks/small.json","benchmark:update:medium":"wget https://raw.githubusercontent.com/fraunhoferfokus/JSum/master/benchmark/fixtures/medium.json -O tasks/medium.json"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"repository":{"url":"git+https://github.com/fabiospampinato/json-sorted-stringify.git","type":"git"},"_npmVersion":"10.2.3","description":"Alternative JSON.stringify function with sorted keys, so the output is stable.","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"fava":"^0.3.4","tsex":"^4.0.2","benchloop":"^2.1.1","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/json-sorted-stringify_1.0.1_1737159114283_0.6151985051565008","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"json-sorted-stringify","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/json-sorted-stringify.git"},"description":"Alternative JSON.stringify function with sorted keys, so the output is stable.","license":"MIT","version":"1.0.2","type":"module","main":"dist/index.js","exports":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"clean":"tsex clean","benchmark":"tsex benchmark","benchmark:watch":"tsex benchmark --watch","benchmark:update:small":"wget https://raw.githubusercontent.com/fraunhoferfokus/JSum/master/benchmark/fixtures/small.json -O tasks/small.json","benchmark:update:medium":"wget https://raw.githubusercontent.com/fraunhoferfokus/JSum/master/benchmark/fixtures/medium.json -O tasks/medium.json","benchmark:update:large":"wget https://raw.githubusercontent.com/zemirco/sf-city-lots-json/master/citylots.json -O tasks/large.json","benchmark:update":"npm run benchmark:update:small && npm run benchmark:update:medium && npm run benchmark:update:large","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["json","sorted","stable","stringify"],"devDependencies":{"benchloop":"^2.1.1","fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.7.3"},"_id":"json-sorted-stringify@1.0.2","gitHead":"b4b87427d471ec4e5972489638dbba100d47ef18","bugs":{"url":"https://github.com/fabiospampinato/json-sorted-stringify/issues"},"homepage":"https://github.com/fabiospampinato/json-sorted-stringify#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-6UiiM9hRn9P+nfznAif3TsmulMJTvlmfNDN8mAmDUvDW/JbSyczdgT0w7NVJvWQwMS83iLnYkH2IXNRZUB4iFg==","shasum":"68b3b05b082deb5a3cbb354be274c3fe472fa644","tarball":"https://registry.npmjs.org/json-sorted-stringify/-/json-sorted-stringify-1.0.2.tgz","fileCount":5,"unpackedSize":3535,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFTq7OW92qUuTO8wL4HERNRxga/6xgHqGGZnVxzTERpEAiAPpm8YCrrOzcjZCEoIP2MjwXYIFwVuHisZJIzS0Nv/SQ=="}]},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/json-sorted-stringify_1.0.2_1755527960367_0.4244491602322089"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-17T23:35:11.919Z","modified":"2025-08-18T14:39:20.721Z","1.0.0":"2023-02-17T23:35:12.067Z","1.0.1":"2025-01-18T00:11:54.486Z","1.0.2":"2025-08-18T14:39:20.559Z"},"bugs":{"url":"https://github.com/fabiospampinato/json-sorted-stringify/issues"},"license":"MIT","homepage":"https://github.com/fabiospampinato/json-sorted-stringify#readme","keywords":["json","sorted","stable","stringify"],"repository":{"type":"git","url":"git+https://github.com/fabiospampinato/json-sorted-stringify.git"},"description":"Alternative JSON.stringify function with sorted keys, so the output is stable.","maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"readme":"# JSON Sorted Stringify\n\nAlternative `JSON.stringify` function with sorted keys, so the output is stable.\n\n## Install\n\n```sh\nnpm install json-sorted-stringify\n```\n\n## Usage\n\n```ts\nimport stringify from 'json-sorted-stringify';\n\n// Let's stringify in a sorted/stable manner\n\nstringify ({ a: 1, b: 2 }); // => '{\"a\":1,\"b\":2}'\nstringify ({ b: 2, a: 1 }); // => '{\"a\":1,\"b\":2}'\n```\n\n## License\n\nMIT © Fabio Spampinato\n","readmeFilename":"readme.md"}