package.json 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "pseudomap@^1.0.2",
  6. "scope": null,
  7. "escapedName": "pseudomap",
  8. "name": "pseudomap",
  9. "rawSpec": "^1.0.2",
  10. "spec": ">=1.0.2 <2.0.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/cross-spawn/node_modules/lru-cache"
  14. ]
  15. ],
  16. "_from": "pseudomap@>=1.0.2 <2.0.0",
  17. "_id": "pseudomap@1.0.2",
  18. "_inCache": true,
  19. "_location": "/pseudomap",
  20. "_nodeVersion": "4.0.0",
  21. "_npmUser": {
  22. "name": "isaacs",
  23. "email": "i@izs.me"
  24. },
  25. "_npmVersion": "3.3.2",
  26. "_phantomChildren": {},
  27. "_requested": {
  28. "raw": "pseudomap@^1.0.2",
  29. "scope": null,
  30. "escapedName": "pseudomap",
  31. "name": "pseudomap",
  32. "rawSpec": "^1.0.2",
  33. "spec": ">=1.0.2 <2.0.0",
  34. "type": "range"
  35. },
  36. "_requiredBy": [
  37. "/cross-spawn/lru-cache"
  38. ],
  39. "_resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
  40. "_shasum": "f052a28da70e618917ef0a8ac34c1ae5a68286b3",
  41. "_shrinkwrap": null,
  42. "_spec": "pseudomap@^1.0.2",
  43. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/cross-spawn/node_modules/lru-cache",
  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/pseudomap/issues"
  51. },
  52. "dependencies": {},
  53. "description": "A thing that is a lot like ES6 `Map`, but without iterators, for use in environments where `for..of` syntax and `Map` are not available.",
  54. "devDependencies": {
  55. "tap": "^2.3.1"
  56. },
  57. "directories": {
  58. "test": "test"
  59. },
  60. "dist": {
  61. "shasum": "f052a28da70e618917ef0a8ac34c1ae5a68286b3",
  62. "tarball": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz"
  63. },
  64. "gitHead": "b6dc728207a0321ede6479e34506d3e0e13a940b",
  65. "homepage": "https://github.com/isaacs/pseudomap#readme",
  66. "license": "ISC",
  67. "main": "map.js",
  68. "maintainers": [
  69. {
  70. "name": "isaacs",
  71. "email": "i@izs.me"
  72. }
  73. ],
  74. "name": "pseudomap",
  75. "optionalDependencies": {},
  76. "readme": "# pseudomap\n\nA thing that is a lot like ES6 `Map`, but without iterators, for use\nin environments where `for..of` syntax and `Map` are not available.\n\nIf you need iterators, or just in general a more faithful polyfill to\nES6 Maps, check out [es6-map](http://npm.im/es6-map).\n\nIf you are in an environment where `Map` is supported, then that will\nbe returned instead, unless `process.env.TEST_PSEUDOMAP` is set.\n\nYou can use any value as keys, and any value as data. Setting again\nwith the identical key will overwrite the previous value.\n\nInternally, data is stored on an `Object.create(null)` style object.\nThe key is coerced to a string to generate the key on the internal\ndata-bag object. The original key used is stored along with the data.\n\nIn the event of a stringified-key collision, a new key is generated by\nappending an increasing number to the stringified-key until finding\neither the intended key or an empty spot.\n\nNote that because object traversal order of plain objects is not\nguaranteed to be identical to insertion order, the insertion order\nguarantee of `Map.prototype.forEach` is not guaranteed in this\nimplementation. However, in all versions of Node.js and V8 where this\nmodule works, `forEach` does traverse data in insertion order.\n\n## API\n\nMost of the [Map\nAPI](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map),\nwith the following exceptions:\n\n1. A `Map` object is not an iterator.\n2. `values`, `keys`, and `entries` methods are not implemented,\n because they return iterators.\n3. The argument to the constructor can be an Array of `[key, value]`\n pairs, or a `Map` or `PseudoMap` object. But, since iterators\n aren't used, passing any plain-old iterator won't initialize the\n map properly.\n\n## USAGE\n\nUse just like a regular ES6 Map.\n\n```javascript\nvar PseudoMap = require('pseudomap')\n\n// optionally provide a pseudomap, or an array of [key,value] pairs\n// as the argument to initialize the map with\nvar myMap = new PseudoMap()\n\nmyMap.set(1, 'number 1')\nmyMap.set('1', 'string 1')\nvar akey = {}\nvar bkey = {}\nmyMap.set(akey, { some: 'data' })\nmyMap.set(bkey, { some: 'other data' })\n```\n",
  77. "readmeFilename": "README.md",
  78. "repository": {
  79. "type": "git",
  80. "url": "git+https://github.com/isaacs/pseudomap.git"
  81. },
  82. "scripts": {
  83. "test": "tap test/*.js"
  84. },
  85. "version": "1.0.2"
  86. }