{"name":"faster-stable-stringify","version":"1.0.0","description":"Faster deterministic JSON.stringify() without bells and whistles.","main":"index.js","scripts":{"pretest":"eslint .","test:bench":"mocha bench/index.js","test:watch":"mocha --watch test.js","test":"nyc mocha test.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/ppaskaris/faster-stable-stringify.git"},"keywords":["caching","deterministic","hasher","json","stable","stringify"],"author":{"name":"Patrick Paskaris","email":"patrick@paskaris.gr"},"license":"Apache-2.0","bugs":{"url":"https://github.com/ppaskaris/faster-stable-stringify/issues"},"homepage":"https://github.com/ppaskaris/faster-stable-stringify#readme","devDependencies":{"chai":"^3.5.0","eslint":"^3.18.0","mocha":"^3.2.0","nyc":"^10.2.0"},"gitHead":"bbacb14e1a3cb7faf11b251e9a77267a318ff308","_id":"faster-stable-stringify@1.0.0","_shasum":"5dad92bffcadff8405a42b0965b033fe957d919c","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.1","_npmUser":{"name":"ppaskaris","email":"patrick@paskaris.gr"},"dist":{"shasum":"5dad92bffcadff8405a42b0965b033fe957d919c","tarball":"http://registry-npm.ywwl.com/faster-stable-stringify/download/faster-stable-stringify-1.0.0.tgz","integrity":"sha512-uPmsJkcouWjzUg1njaa3RC+UqS2hH6mSoZEDKLYjhI55QkE5DlbD5zDXI4swlZLOivRo+8z5uuZtfTMnhksnVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICye7FA5kpl2eWY+r+hLEbsu0cIDfh2WS+9lJnzbVBh1AiEAzQ5UwKykqxHXSyHe0txFBMIa5wuRLejKbvxxUk4iWNw="}],"size":8367,"noattachment":false,"key":"/faster-stable-stringify/-/faster-stable-stringify-1.0.0.tgz"},"maintainers":[{"name":"ppaskaris","email":"patrick@paskaris.gr"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/faster-stable-stringify-1.0.0.tgz_1491004147035_0.5168135790154338"},"directories":{},"readme":"# faster-stable-stringify\n\nFaster deterministic `JSON.stringify()` without bells and whistles.\n\n```js\nconst stableStringify = require('faster-stable-stringify');\n\nconst json = stableStringify({greetings: 'Hello!', apples: 'bananas'});\n// json = {\"apples\":\"bananas\",\"greetings\":\"Hello!\"}\n```\n\n## Installation\n\n```sh\n$ npm install faster-stable-stringify\n```\n\n## Features\n\n- `JSON.stringify` that has deterministic output\n- Handles edge cases in accordance with the spec\n- Replaces cycles with `\"[Circular]\"` similar to [isaac's\n  json-stringify-safe][1]\n\n## API\n\nA single function is exported.\n\n```js\nstableStringify(value)\n```\n\nThe behavior is identical to the native `JSON.stringify`, excluding circular\nstructures. See [here][2] for an explanation of the `JSON.stringify` behavior.\n\n# Alternatives\n\nIf you need to customize the sorting behavior, or want an implementation that\nthrows on circular references, you may prefer to use [substack's\njson-stable-stringify][3].\n\nIf you need it to work in the browser or in an environment without a native\n`JSON.stringify`, you may prefer to use [nickyout's fast-stable-stringify][4].\n\n[1]: https://github.com/isaacs/json-stringify-safe\n[2]: https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify\n[3]: https://github.com/substack/json-stable-stringify\n[4]: https://github.com/nickyout/fast-stable-stringify\n","publish_time":1491004148986,"_cnpm_publish_time":1491004148986,"dist-tags":{"latest":"1.0.0"}}