package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "json-stringify-safe@~5.0.1",
  6. "scope": null,
  7. "escapedName": "json-stringify-safe",
  8. "name": "json-stringify-safe",
  9. "rawSpec": "~5.0.1",
  10. "spec": ">=5.0.1 <5.1.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/request"
  14. ]
  15. ],
  16. "_from": "json-stringify-safe@>=5.0.1 <5.1.0",
  17. "_id": "json-stringify-safe@5.0.1",
  18. "_inCache": true,
  19. "_location": "/json-stringify-safe",
  20. "_nodeVersion": "2.0.1",
  21. "_npmUser": {
  22. "name": "isaacs",
  23. "email": "isaacs@npmjs.com"
  24. },
  25. "_npmVersion": "2.10.0",
  26. "_phantomChildren": {},
  27. "_requested": {
  28. "raw": "json-stringify-safe@~5.0.1",
  29. "scope": null,
  30. "escapedName": "json-stringify-safe",
  31. "name": "json-stringify-safe",
  32. "rawSpec": "~5.0.1",
  33. "spec": ">=5.0.1 <5.1.0",
  34. "type": "range"
  35. },
  36. "_requiredBy": [
  37. "/request"
  38. ],
  39. "_resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
  40. "_shasum": "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb",
  41. "_shrinkwrap": null,
  42. "_spec": "json-stringify-safe@~5.0.1",
  43. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/request",
  44. "author": {
  45. "name": "Isaac Z. Schlueter",
  46. "email": "i@izs.me",
  47. "url": "http://blog.izs.me"
  48. },
  49. "bugs": {
  50. "url": "https://github.com/isaacs/json-stringify-safe/issues"
  51. },
  52. "contributors": [
  53. {
  54. "name": "Andri Möll",
  55. "email": "andri@dot.ee",
  56. "url": "http://themoll.com"
  57. }
  58. ],
  59. "dependencies": {},
  60. "description": "Like JSON.stringify, but doesn't blow up on circular refs.",
  61. "devDependencies": {
  62. "mocha": ">= 2.1.0 < 3",
  63. "must": ">= 0.12 < 0.13",
  64. "sinon": ">= 1.12.2 < 2"
  65. },
  66. "directories": {},
  67. "dist": {
  68. "shasum": "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb",
  69. "tarball": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz"
  70. },
  71. "gitHead": "3890dceab3ad14f8701e38ca74f38276abc76de5",
  72. "homepage": "https://github.com/isaacs/json-stringify-safe",
  73. "keywords": [
  74. "json",
  75. "stringify",
  76. "circular",
  77. "safe"
  78. ],
  79. "license": "ISC",
  80. "main": "stringify.js",
  81. "maintainers": [
  82. {
  83. "name": "isaacs",
  84. "email": "i@izs.me"
  85. },
  86. {
  87. "name": "moll",
  88. "email": "andri@dot.ee"
  89. }
  90. ],
  91. "name": "json-stringify-safe",
  92. "optionalDependencies": {},
  93. "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\n**Note** that the function returned from `getSerialize` is stateful for now, so\ndo **not** use it more than once.\n",
  94. "readmeFilename": "README.md",
  95. "repository": {
  96. "type": "git",
  97. "url": "git://github.com/isaacs/json-stringify-safe.git"
  98. },
  99. "scripts": {
  100. "test": "node test.js"
  101. },
  102. "version": "5.0.1"
  103. }