{"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.","version":"1.0.0","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.0.0","fava":"^0.2.0","tsex":"^2.2.0","typescript":"^4.9.5"},"bugs":{"url":"https://github.com/fabiospampinato/json-sorted-stringify/issues"},"homepage":"https://github.com/fabiospampinato/json-sorted-stringify#readme","_id":"json-sorted-stringify@1.0.0","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-r27DgPdI80AXd6Hm0zJ7nPCYTBFUersR7sn7xcYyafvcgYOvwmCXB+DKWazAe0YaCNHbxH5Qzt7AIhUzPD1ETg==","shasum":"29b39af4e69d74e56bf4f689ba01645757f47175","tarball":"http://registry-npm.ywwl.com/json-sorted-stringify/download/json-sorted-stringify-1.0.0.tgz","fileCount":10,"unpackedSize":5525,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFvclxnReLzN1mvsF3BDMgQkHvOr5Ra3Ox5fJPWBxtw6AiEAvQwdE6WNOHhUuGQirVEqn+CV99yY5x6c9hNTSbbOXFE="}],"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","size":2514,"noattachment":false,"key":"/json-sorted-stringify/-/json-sorted-stringify-1.0.0.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-sorted-stringify_1.0.0_1676676911920_0.34428061807293564"},"_hasShrinkwrap":false,"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 --save json-sorted-stringify\n```\n\n## Usage\n\n```ts\nimport stringify from 'json-sorted-stringify';\n\nstirngify ({ a: 1, b: 2 }); // => '{\"a\":1,\"b\":2}'\nstirngify ({ b: 2, a: 1 }); // => '{\"a\":1,\"b\":2}'\n```\n\n## License\n\nMIT © Fabio Spampinato\n","publish_time":1676676912067,"_cnpm_publish_time":1676676912067,"dist-tags":{"latest":"1.0.2"}}