{"_id":"circular-json-es6","_rev":"882721","name":"circular-json-es6","description":"circular JSON.stringify and JSON.parse, for environments with native ES6 Map","dist-tags":{"latest":"2.0.2"},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"}],"time":{"modified":"2024-07-18T12:31:07.000Z","created":"2016-03-04T20:44:03.935Z","2.0.2":"2018-01-23T15:50:01.300Z","2.0.1":"2017-04-19T09:12:56.636Z","2.0.0":"2016-03-08T22:23:12.747Z","1.1.0":"2016-03-08T21:47:47.821Z","1.0.0":"2016-03-04T20:44:03.935Z"},"users":{},"author":{"name":"Evan You"},"repository":{"type":"git","url":"git+https://github.com/yyx990803/circular-json-es6.git"},"versions":{"2.0.2":{"name":"circular-json-es6","version":"2.0.2","description":"circular JSON.stringify and JSON.parse, for environments with native ES6 Map","main":"index.js","devDependencies":{"circular-json":"^0.3.0","jsan":"^3.1.2","mocha":"^2.4.5"},"scripts":{"test":"mocha","bench":"node bench.js"},"repository":{"type":"git","url":"git+https://github.com/yyx990803/circular-json-es6.git"},"author":{"name":"Evan You"},"license":"MIT","bugs":{"url":"https://github.com/yyx990803/circular-json-es6/issues"},"homepage":"https://github.com/yyx990803/circular-json-es6#readme","gitHead":"1ba1796c1c56695af85ac7abf9d5d1b7df7d2299","_id":"circular-json-es6@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"yyx990803","email":"yyx990803@gmail.com"},"dist":{"integrity":"sha512-ODYONMMNb3p658Zv+Pp+/XPa5s6q7afhz3Tzyvo+VRh9WIrJ64J76ZC4GQxnlye/NesTn09jvOiuE8+xxfpwhQ==","shasum":"e4f4a093e49fb4b6aba1157365746112a78bd344","tarball":"http://registry-npm.ywwl.com/circular-json-es6/download/circular-json-es6-2.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBLUhU51tdCjm/izU1zYxHRblJRK0qBJrrJfvoz9mIzwIgYWFHGuJsZS0bG6rMR2UUDNrYHAsA+yeC/+ACEsrW42I="}],"size":3724,"noattachment":false,"key":"/circular-json-es6/-/circular-json-es6-2.0.2.tgz"},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/circular-json-es6-2.0.2.tgz_1516722601206_0.300492835463956"},"directories":{},"publish_time":1516722601300,"_cnpm_publish_time":1516722601300},"2.0.1":{"name":"circular-json-es6","version":"2.0.1","description":"circular JSON.stringify and JSON.parse, for environments with native ES6 Map","main":"index.js","devDependencies":{"circular-json":"^0.3.0","jsan":"^3.1.2","mocha":"^2.4.5"},"scripts":{"test":"mocha","bench":"node bench.js"},"repository":{"type":"git","url":"git+https://github.com/yyx990803/circular-json-es6.git"},"author":{"name":"Evan You"},"license":"MIT","bugs":{"url":"https://github.com/yyx990803/circular-json-es6/issues"},"homepage":"https://github.com/yyx990803/circular-json-es6#readme","gitHead":"d0afda652aa08c718154af385260c12de9b17406","_id":"circular-json-es6@2.0.1","_shasum":"c9f4e37df74a655ced7245d31020bf5b5cd34ef6","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"yyx990803","email":"yyx990803@gmail.com"},"dist":{"shasum":"c9f4e37df74a655ced7245d31020bf5b5cd34ef6","tarball":"http://registry-npm.ywwl.com/circular-json-es6/download/circular-json-es6-2.0.1.tgz","integrity":"sha512-lQtnM8QYe9xwc2BDqOmR1qTZhktY6xFxSg8AJYhIuJAIk3xqKnbaI0aUIw4C+iHQudWWo2i+HjEyeH2iaAL+aw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRZ/qqwYswbVFlgobBYGe3ERtnHZT61LNZ5x/yg2LyfwIgdi8reQ25ihI8+Gq9puCO05MHA2fd+YIyxlk90DMrpQk="}],"size":3806,"noattachment":false,"key":"/circular-json-es6/-/circular-json-es6-2.0.1.tgz"},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/circular-json-es6-2.0.1.tgz_1492593176412_0.2013871120288968"},"directories":{},"publish_time":1492593176636,"_cnpm_publish_time":1492593176636},"2.0.0":{"name":"circular-json-es6","version":"2.0.0","description":"circular JSON.stringify and JSON.parse, for environments with native ES6 Map","main":"index.js","devDependencies":{"circular-json":"^0.3.0","jsan":"^3.1.2","mocha":"^2.4.5"},"scripts":{"test":"mocha","bench":"node bench.js"},"repository":{"type":"git","url":"git+https://github.com/yyx990803/circular-json-es6.git"},"author":{"name":"Evan You"},"license":"MIT","bugs":{"url":"https://github.com/yyx990803/circular-json-es6/issues"},"homepage":"https://github.com/yyx990803/circular-json-es6#readme","gitHead":"6ecd6d743b7eb3d240153dda7f7c4f9e7224f7e5","_id":"circular-json-es6@2.0.0","_shasum":"c2ef4051304a4f57fbcb32ad02253902cd1c3c36","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"yyx990803","email":"yyx990803@gmail.com"},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"}],"dist":{"shasum":"c2ef4051304a4f57fbcb32ad02253902cd1c3c36","tarball":"http://registry-npm.ywwl.com/circular-json-es6/download/circular-json-es6-2.0.0.tgz","integrity":"sha512-2MlgOjd1es+mObiaBPzVX0lM7kO6WLh+uQrSLkHiaz87eK6861QKe9lfDJ/7ERbWmOtt/Oi5tTyjVSapHxBqMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICiqO2sEaNNI6jqEkuTtq2qSeddd5UCYUs5z6Ph/ExLLAiEAk/+KtBHK6U4V80n6loYK7nvOE8yhBpOZbzEOYFtb5vs="}],"size":3801,"noattachment":false,"key":"/circular-json-es6/-/circular-json-es6-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/circular-json-es6-2.0.0.tgz_1457475788218_0.6159288247581571"},"directories":{},"publish_time":1457475792747,"_cnpm_publish_time":1457475792747},"1.1.0":{"name":"circular-json-es6","version":"1.1.0","description":"circular JSON.stringify and JSON.parse, for environments with native ES6 Map","main":"index.js","devDependencies":{"circular-json":"^0.3.0","jsan":"^3.1.2","mocha":"^2.4.5"},"scripts":{"test":"mocha","bench":"node bench.js"},"repository":{"type":"git","url":"git+https://github.com/yyx990803/circular-json-es6.git"},"author":{"name":"Evan You"},"license":"MIT","bugs":{"url":"https://github.com/yyx990803/circular-json-es6/issues"},"homepage":"https://github.com/yyx990803/circular-json-es6#readme","gitHead":"3522a25b768e3a95cd1bc8b2a72ec5a98b435b47","_id":"circular-json-es6@1.1.0","_shasum":"1e37af085c9c25dfe2fd6c83bb13b237cf8a9429","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"yyx990803","email":"yyx990803@gmail.com"},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"}],"dist":{"shasum":"1e37af085c9c25dfe2fd6c83bb13b237cf8a9429","tarball":"http://registry-npm.ywwl.com/circular-json-es6/download/circular-json-es6-1.1.0.tgz","integrity":"sha512-yfBTECBhEdZtt2gPRDlfquxwAjr5zCA5drbaj/khhcTVx1FdQrYU63WhBM2vnqiFCZ46K/RBobAkpym3qYMr9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5fTn8W13tpmF9w9n+p+Y7nm7nw/HIjJbV4V52DonmIAiEAiGgKfSPeS35svvEf6Rfw0ECsxMtyIpviq3vEIS379xk="}],"size":3515,"noattachment":false,"key":"/circular-json-es6/-/circular-json-es6-1.1.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/circular-json-es6-1.1.0.tgz_1457473663812_0.3521697123069316"},"directories":{},"publish_time":1457473667821,"_cnpm_publish_time":1457473667821},"1.0.0":{"name":"circular-json-es6","version":"1.0.0","description":"circular JSON.stringify and JSON.parse, for environments with native ES6 Map","main":"index.js","devDependencies":{"mocha":"^2.4.5","circular-json":"^0.3.0"},"scripts":{"test":"mocha","bench":"node bench.js"},"repository":{"type":"git","url":"git+https://github.com/yyx990803/circular-json-es6.git"},"author":{"name":"Evan You"},"license":"MIT","bugs":{"url":"https://github.com/yyx990803/circular-json-es6/issues"},"homepage":"https://github.com/yyx990803/circular-json-es6#readme","gitHead":"017a0ddfa7eedefd5102a5edf70e509b7a5e094f","_id":"circular-json-es6@1.0.0","_shasum":"48798699057f319c307ea56a9e59b8cd7ca37efe","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.5.0","_npmUser":{"name":"yyx990803","email":"yyx990803@gmail.com"},"maintainers":[{"name":"yyx990803","email":"yyx990803@gmail.com"}],"dist":{"shasum":"48798699057f319c307ea56a9e59b8cd7ca37efe","tarball":"http://registry-npm.ywwl.com/circular-json-es6/download/circular-json-es6-1.0.0.tgz","integrity":"sha512-9QfD7kO/ZSzeUFdN6WEmXiPz7wdjDg5IsYgbZimUjIcJtkU/w+AGZG7EXul0QtFHgB6pUqOnoT2HXfPNSEJI6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy3ihQAIRts3rneFD9/IKJfvgmTXUB+8p0xjqZABxZSwIhAPNi+tC6W0FU609ogBcH1cuaaPRQif4MCQDo0olyqMYo"}],"size":3414,"noattachment":false,"key":"/circular-json-es6/-/circular-json-es6-1.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/circular-json-es6-1.0.0.tgz_1457124240611_0.5607838423456997"},"directories":{},"publish_time":1457124243935,"_cnpm_publish_time":1457124243935}},"readme":"# circular-json-es6\n\nA replacement for `JSON.stringify` and `JSON.parse` that can handle circular references (persists reference structure).\n\n**This implementation requires environments with native ES6 Map support,** but is decently faster than [circular-json](https://github.com/WebReflection/circular-json) (see benchmark with `npm run bench`).\n\n``` js\nvar CircularJSON = require('circular-json-es6')\n\nvar obj = {}\nobj.a = obj\n\nvar clone = CircularJSON.parse(CircularJSON.stringify(obj))\n\nclone.a === clone // -> true\n```\n\n### NOTE\n\nThe default `stringify` method optimizes for cases where no circular reference is present by trying a plain `JSON.stringify` first. This means if no circular references are found in the data then it will not persist multiple (but non-circular) references to the same object.\n\nIf you want to enforce reference persistence, use `CircularJSON.stringifyStrict` instead.\n","_attachments":{},"homepage":"https://github.com/yyx990803/circular-json-es6#readme","bugs":{"url":"https://github.com/yyx990803/circular-json-es6/issues"},"license":"MIT"}