%PDF- %PDF-
Direktori : /home/waritko/.npm/registry.npmjs.org/json-stringify-safe/ |
Current File : //home/waritko/.npm/registry.npmjs.org/json-stringify-safe/.cache.json |
{"_id":"json-stringify-safe","_rev":"20-bd45af492b1a8efc37125cf3a4134965","name":"json-stringify-safe","description":"Like JSON.stringify, but doesn't blow up on circular refs","dist-tags":{"latest":"5.0.0"},"versions":{"2.0.0":{"name":"json-stringify-safe","version":"2.0.0","description":"Like JSON.stringify, but doesn't blow up on circular refs","main":"stringify.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/isaacs/json-stringify-safe"},"keywords":["json","stringify","circular","safe"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},"license":"BSD","_id":"json-stringify-safe@2.0.0","dist":{"shasum":"3f5e856825d4ffb9deea1156f79c47adab7f9c44","tarball":"http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-2.0.0.tgz"},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"isaacs","email":"i@izs.me"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"directories":{}},"3.0.0":{"name":"json-stringify-safe","version":"3.0.0","description":"Like JSON.stringify, but doesn't blow up on circular refs","main":"stringify.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/isaacs/json-stringify-safe"},"keywords":["json","stringify","circular","safe"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},"license":"BSD","_id":"json-stringify-safe@3.0.0","dist":{"shasum":"9db7b0e530c7f289c5e8c8432af191c2ff75a5b3","tarball":"http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-3.0.0.tgz"},"_from":".","_npmVersion":"1.2.12","_npmUser":{"name":"isaacs","email":"i@izs.me"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"directories":{}},"4.0.0":{"name":"json-stringify-safe","version":"4.0.0","description":"Like JSON.stringify, but doesn't blow up on circular refs","main":"stringify.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/isaacs/json-stringify-safe"},"keywords":["json","stringify","circular","safe"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},"license":"BSD","_id":"json-stringify-safe@4.0.0","dist":{"shasum":"77c271aaea54302e68efeaccb56abbf06a9b1a54","tarball":"http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-4.0.0.tgz"},"_from":".","_npmVersion":"1.2.14","_npmUser":{"name":"isaacs","email":"i@izs.me"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"directories":{}},"5.0.0":{"name":"json-stringify-safe","version":"5.0.0","description":"Like JSON.stringify, but doesn't blow up on circular refs","main":"stringify.js","scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/isaacs/json-stringify-safe"},"keywords":["json","stringify","circular","safe"],"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},"license":"BSD","bugs":{"url":"https://github.com/isaacs/json-stringify-safe/issues"},"_id":"json-stringify-safe@5.0.0","dist":{"shasum":"4c1f228b5050837eba9d21f50c2e6e320624566e","tarball":"http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.0.tgz"},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"isaacs","email":"i@izs.me"},"maintainers":[{"name":"isaacs","email":"i@izs.me"}],"directories":{}}},"readme":"# json-stringify-safe\n\nLike JSON.stringify, but doesn't throw on circular references.\n\n## Usage\n\nTakes the same arguments as `JSON.stringify`.\n\n```javascript\nvar stringify = require('json-stringify-safe');\nvar circularObj = {};\ncircularObj.circularRef = circularObj;\ncircularObj.list = [ circularObj, circularObj ];\nconsole.log(stringify(circularObj, null, 2));\n```\n\nOutput:\n\n```json\n{\n \"circularRef\": \"[Circular]\",\n \"list\": [\n \"[Circular]\",\n \"[Circular]\"\n ]\n}\n```\n\n## Details\n\n```\nstringify(obj, serializer, indent, decycler)\n```\n\nThe first three arguments are the same as to JSON.stringify. The last\nis an argument that's only used when the object has been seen already.\n\nThe default `decycler` function returns the string `'[Circular]'`.\nIf, for example, you pass in `function(k,v){}` (return nothing) then it\nwill prune cycles. If you pass in `function(k,v){ return {foo: 'bar'}}`,\nthen cyclical objects will always be represented as `{\"foo\":\"bar\"}` in\nthe result.\n\n```\nstringify.getSerialize(serializer, decycler)\n```\n\nReturns a serializer that can be used elsewhere. This is the actual\nfunction that's passed to JSON.stringify.\n","maintainers":[{"name":"isaacs","email":"i@izs.me"},{"name":"moll","email":"andri@dot.ee"}],"time":{"modified":"2014-09-24T20:52:47.632Z","created":"2013-02-19T19:01:58.271Z","2.0.0":"2013-02-19T19:02:04.205Z","3.0.0":"2013-02-19T19:22:41.788Z","4.0.0":"2013-03-13T06:31:31.741Z","5.0.0":"2013-08-02T20:28:17.007Z"},"author":{"name":"Isaac Z. Schlueter","email":"i@izs.me","url":"http://blog.izs.me"},"repository":{"type":"git","url":"git://github.com/isaacs/json-stringify-safe"},"users":{"dbrockman":true,"dubban":true,"fotomut":true,"boustanihani":true,"thethomaseffect":true,"oceanswave":true},"keywords":["json","stringify","circular","safe"],"bugs":{"url":"https://github.com/isaacs/json-stringify-safe/issues"},"license":"BSD","readmeFilename":"README.md","_attachments":{},"_etag":"\"5JR2XCH6ZQYZWQWN9C7F3VM32\""}