Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/map-cache.json

raw
1 {
2 "_id": "map-cache",
3 "_rev": "8-a86b0fe5901c63a0c560b178c5e5d1c6",
4 "name": "map-cache",
5 "description": "Basic cache object for storing key-value pairs.",
6 "dist-tags": {
7 "latest": "0.2.2"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "map-cache",
12 "description": "Create a simple cache object for storing key-value pairs.",
13 "version": "0.1.0",
14 "homepage": "https://github.com/jonschlinkert/map-cache",
15 "author": {
16 "name": "Jon Schlinkert",
17 "url": "https://github.com/jonschlinkert"
18 },
19 "repository": {
20 "type": "git",
21 "url": "git://github.com/jonschlinkert/map-cache.git"
22 },
23 "bugs": {
24 "url": "https://github.com/jonschlinkert/map-cache/issues"
25 },
26 "license": {
27 "type": "MIT",
28 "url": "https://github.com/jonschlinkert/map-cache/blob/master/LICENSE"
29 },
30 "files": [
31 "index.js"
32 ],
33 "main": "index.js",
34 "engines": {
35 "node": ">=0.10.0"
36 },
37 "scripts": {
38 "test": "mocha"
39 },
40 "dependencies": {},
41 "devDependencies": {
42 "mocha": "*",
43 "should": "*"
44 },
45 "keywords": [],
46 "_id": "[email protected]",
47 "_shasum": "c10ab293d4605c8b824fddd4869dea9a558c3c33",
48 "_from": ".",
49 "_npmVersion": "2.5.1",
50 "_nodeVersion": "0.12.0",
51 "_npmUser": {
52 "name": "jonschlinkert",
53 "email": "[email protected]"
54 },
55 "maintainers": [
56 {
57 "name": "jonschlinkert",
58 "email": "[email protected]"
59 }
60 ],
61 "dist": {
62 "shasum": "c10ab293d4605c8b824fddd4869dea9a558c3c33",
63 "tarball": "https://registry.npmjs.org/map-cache/-/map-cache-0.1.0.tgz"
64 },
65 "directories": {}
66 },
67 "0.1.1": {
68 "name": "map-cache",
69 "description": "Basic cache object for storing key-value pairs.",
70 "version": "0.1.1",
71 "homepage": "https://github.com/jonschlinkert/map-cache",
72 "author": {
73 "name": "Jon Schlinkert",
74 "url": "https://github.com/jonschlinkert"
75 },
76 "repository": {
77 "type": "git",
78 "url": "git://github.com/jonschlinkert/map-cache.git"
79 },
80 "bugs": {
81 "url": "https://github.com/jonschlinkert/map-cache/issues"
82 },
83 "license": {
84 "type": "MIT",
85 "url": "https://github.com/jonschlinkert/map-cache/blob/master/LICENSE"
86 },
87 "files": [
88 "index.js"
89 ],
90 "main": "index.js",
91 "engines": {
92 "node": ">=0.10.0"
93 },
94 "scripts": {
95 "test": "mocha"
96 },
97 "devDependencies": {
98 "mocha": "*",
99 "should": "*"
100 },
101 "keywords": [
102 "cache",
103 "get",
104 "has",
105 "object",
106 "set",
107 "storage",
108 "store"
109 ],
110 "_id": "[email protected]",
111 "_shasum": "568b4ae3233d107317648c60d7b51a80b55cc103",
112 "_from": ".",
113 "_npmVersion": "2.5.1",
114 "_nodeVersion": "0.12.0",
115 "_npmUser": {
116 "name": "jonschlinkert",
117 "email": "[email protected]"
118 },
119 "maintainers": [
120 {
121 "name": "jonschlinkert",
122 "email": "[email protected]"
123 }
124 ],
125 "dist": {
126 "shasum": "568b4ae3233d107317648c60d7b51a80b55cc103",
127 "tarball": "https://registry.npmjs.org/map-cache/-/map-cache-0.1.1.tgz"
128 },
129 "directories": {}
130 },
131 "0.2.0": {
132 "name": "map-cache",
133 "description": "Basic cache object for storing key-value pairs.",
134 "version": "0.2.0",
135 "homepage": "https://github.com/jonschlinkert/map-cache",
136 "author": {
137 "name": "Jon Schlinkert",
138 "url": "https://github.com/jonschlinkert"
139 },
140 "repository": {
141 "type": "git",
142 "url": "git://github.com/jonschlinkert/map-cache.git"
143 },
144 "bugs": {
145 "url": "https://github.com/jonschlinkert/map-cache/issues"
146 },
147 "license": "MIT",
148 "files": [
149 "index.js"
150 ],
151 "main": "index.js",
152 "engines": {
153 "node": ">=0.10.0"
154 },
155 "scripts": {
156 "test": "mocha"
157 },
158 "devDependencies": {
159 "mocha": "*",
160 "should": "*"
161 },
162 "keywords": [
163 "cache",
164 "get",
165 "has",
166 "object",
167 "set",
168 "storage",
169 "store"
170 ],
171 "gitHead": "fd92615eafc29f7898067ed7411dd082af325164",
172 "_id": "[email protected]",
173 "_shasum": "3c900dc509c9eda4df063fd6f0f9002d91ab2455",
174 "_from": ".",
175 "_npmVersion": "2.10.1",
176 "_nodeVersion": "0.12.4",
177 "_npmUser": {
178 "name": "jonschlinkert",
179 "email": "[email protected]"
180 },
181 "maintainers": [
182 {
183 "name": "jonschlinkert",
184 "email": "[email protected]"
185 }
186 ],
187 "dist": {
188 "shasum": "3c900dc509c9eda4df063fd6f0f9002d91ab2455",
189 "tarball": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.0.tgz"
190 },
191 "directories": {}
192 },
193 "0.2.1": {
194 "name": "map-cache",
195 "description": "Basic cache object for storing key-value pairs.",
196 "version": "0.2.1",
197 "homepage": "https://github.com/jonschlinkert/map-cache",
198 "author": {
199 "name": "Jon Schlinkert",
200 "url": "https://github.com/jonschlinkert"
201 },
202 "repository": {
203 "type": "git",
204 "url": "git+https://github.com/jonschlinkert/map-cache.git"
205 },
206 "bugs": {
207 "url": "https://github.com/jonschlinkert/map-cache/issues"
208 },
209 "license": "MIT",
210 "files": [
211 "index.js"
212 ],
213 "main": "index.js",
214 "engines": {
215 "node": ">=0.10.0"
216 },
217 "scripts": {
218 "test": "mocha"
219 },
220 "devDependencies": {
221 "gulp-format-md": "^0.1.7",
222 "should": "^8.3.0"
223 },
224 "keywords": [
225 "cache",
226 "get",
227 "has",
228 "object",
229 "set",
230 "storage",
231 "store"
232 ],
233 "verb": {
234 "run": true,
235 "toc": false,
236 "layout": "default",
237 "tasks": [
238 "readme"
239 ],
240 "plugins": [
241 "gulp-format-md"
242 ],
243 "related": {
244 "list": [
245 "config-cache",
246 "option-cache",
247 "cache-base"
248 ]
249 },
250 "reflinks": [
251 "verb"
252 ],
253 "lint": {
254 "reflinks": true
255 }
256 },
257 "gitHead": "5f97be81cab9b774bda6106bf6b2f152f96786b2",
258 "_id": "[email protected]",
259 "_shasum": "0ac4a21713fe9eb2aa8ddce7db1dff6648b7f713",
260 "_from": ".",
261 "_npmVersion": "3.6.0",
262 "_nodeVersion": "5.5.0",
263 "_npmUser": {
264 "name": "jonschlinkert",
265 "email": "[email protected]"
266 },
267 "maintainers": [
268 {
269 "name": "jonschlinkert",
270 "email": "[email protected]"
271 }
272 ],
273 "dist": {
274 "shasum": "0ac4a21713fe9eb2aa8ddce7db1dff6648b7f713",
275 "tarball": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.1.tgz"
276 },
277 "_npmOperationalInternal": {
278 "host": "packages-16-east.internal.npmjs.com",
279 "tmp": "tmp/map-cache-0.2.1.tgz_1460378062919_0.36677914508618414"
280 },
281 "directories": {}
282 },
283 "0.2.2": {
284 "name": "map-cache",
285 "description": "Basic cache object for storing key-value pairs.",
286 "version": "0.2.2",
287 "homepage": "https://github.com/jonschlinkert/map-cache",
288 "author": {
289 "name": "Jon Schlinkert",
290 "url": "https://github.com/jonschlinkert"
291 },
292 "repository": {
293 "type": "git",
294 "url": "git+https://github.com/jonschlinkert/map-cache.git"
295 },
296 "bugs": {
297 "url": "https://github.com/jonschlinkert/map-cache/issues"
298 },
299 "license": "MIT",
300 "files": [
301 "index.js"
302 ],
303 "main": "index.js",
304 "engines": {
305 "node": ">=0.10.0"
306 },
307 "scripts": {
308 "test": "mocha"
309 },
310 "devDependencies": {
311 "gulp-format-md": "^0.1.9",
312 "should": "^8.3.1"
313 },
314 "keywords": [
315 "cache",
316 "get",
317 "has",
318 "object",
319 "set",
320 "storage",
321 "store"
322 ],
323 "verb": {
324 "run": true,
325 "toc": false,
326 "layout": "default",
327 "tasks": [
328 "readme"
329 ],
330 "plugins": [
331 "gulp-format-md"
332 ],
333 "related": {
334 "list": [
335 "config-cache",
336 "option-cache",
337 "cache-base"
338 ]
339 },
340 "reflinks": [
341 "verb"
342 ],
343 "lint": {
344 "reflinks": true
345 }
346 },
347 "gitHead": "f36c7567cb85b50824db25a2a588c5f7b858823b",
348 "_id": "[email protected]",
349 "_shasum": "c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf",
350 "_from": ".",
351 "_npmVersion": "3.6.0",
352 "_nodeVersion": "5.5.0",
353 "_npmUser": {
354 "name": "jonschlinkert",
355 "email": "[email protected]"
356 },
357 "maintainers": [
358 {
359 "name": "jonschlinkert",
360 "email": "[email protected]"
361 }
362 ],
363 "dist": {
364 "shasum": "c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf",
365 "tarball": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz"
366 },
367 "_npmOperationalInternal": {
368 "host": "packages-16-east.internal.npmjs.com",
369 "tmp": "tmp/map-cache-0.2.2.tgz_1462877475232_0.17523240111768246"
370 },
371 "directories": {}
372 }
373 },
374 "readme": "# map-cache [![NPM version](https://img.shields.io/npm/v/map-cache.svg?style=flat)](https://www.npmjs.com/package/map-cache) [![NPM downloads](https://img.shields.io/npm/dm/map-cache.svg?style=flat)](https://npmjs.org/package/map-cache) [![Build Status](https://img.shields.io/travis/jonschlinkert/map-cache.svg?style=flat)](https://travis-ci.org/jonschlinkert/map-cache)\n\nBasic cache object for storing key-value pairs.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install map-cache --save\n```\n\nBased on MapCache in Lo-dash v3.0. [MIT License](https://github.com/lodash/lodash/blob/master/LICENSE.txt)\n\n## Usage\n\n```js\nvar MapCache = require('map-cache');\nvar mapCache = new MapCache();\n```\n\n## API\n\n### [MapCache](index.js#L28)\n\nCreates a cache object to store key/value pairs.\n\n**Example**\n\n```js\nvar cache = new MapCache();\n```\n\n### [.set](index.js#L45)\n\nAdds `value` to `key` on the cache.\n\n**Params**\n\n* `key` **{String}**: The key of the value to cache.\n* `value` **{any}**: The value to cache.\n* `returns` **{Object}**: Returns the `Cache` object for chaining.\n\n**Example**\n\n```js\ncache.set('foo', 'bar');\n```\n\n### [.get](index.js#L65)\n\nGets the cached value for `key`.\n\n**Params**\n\n* `key` **{String}**: The key of the value to get.\n* `returns` **{any}**: Returns the cached value.\n\n**Example**\n\n```js\ncache.get('foo');\n//=> 'bar'\n```\n\n### [.has](index.js#L82)\n\nChecks if a cached value for `key` exists.\n\n**Params**\n\n* `key` **{String}**: The key of the entry to check.\n* `returns` **{Boolean}**: Returns `true` if an entry for `key` exists, else `false`.\n\n**Example**\n\n```js\ncache.has('foo');\n//=> true\n```\n\n### [.del](index.js#L98)\n\nRemoves `key` and its value from the cache.\n\n**Params**\n\n* `key` **{String}**: The key of the value to remove.\n* `returns` **{Boolean}**: Returns `true` if the entry was removed successfully, else `false`.\n\n**Example**\n\n```js\ncache.del('foo');\n```\n\n## Related projects\n\nYou might also be interested in these projects:\n\n* [cache-base](https://www.npmjs.com/package/cache-base): Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects. | [homepage](https://github.com/jonschlinkert/cache-base)\n* [config-cache](https://www.npmjs.com/package/config-cache): General purpose JavaScript object storage methods. | [homepage](https://github.com/jonschlinkert/config-cache)\n* [option-cache](https://www.npmjs.com/package/option-cache): Simple API for managing options in JavaScript applications. | [homepage](https://github.com/jonschlinkert/option-cache)\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/map-cache/issues/new).\n\n## Building docs\n\nGenerate readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install verb && npm run docs\n```\n\nOr, if [verb](https://github.com/verbose/verb) is installed globally:\n\n```sh\n$ verb\n```\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n## Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/jonschlinkert/map-cache/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 10, 2016._",
375 "maintainers": [
376 {
377 "name": "jonschlinkert",
378 "email": "[email protected]"
379 }
380 ],
381 "time": {
382 "modified": "2019-02-19T08:16:44.327Z",
383 "created": "2015-02-25T10:54:58.270Z",
384 "0.1.0": "2015-02-25T10:54:58.270Z",
385 "0.1.1": "2015-03-18T09:51:35.113Z",
386 "0.2.0": "2015-06-23T17:07:33.511Z",
387 "0.2.1": "2016-04-11T12:34:24.070Z",
388 "0.2.2": "2016-05-10T10:51:16.518Z"
389 },
390 "homepage": "https://github.com/jonschlinkert/map-cache",
391 "keywords": [
392 "cache",
393 "get",
394 "has",
395 "object",
396 "set",
397 "storage",
398 "store"
399 ],
400 "repository": {
401 "type": "git",
402 "url": "git+https://github.com/jonschlinkert/map-cache.git"
403 },
404 "author": {
405 "name": "Jon Schlinkert",
406 "url": "https://github.com/jonschlinkert"
407 },
408 "bugs": {
409 "url": "https://github.com/jonschlinkert/map-cache/issues"
410 },
411 "license": "MIT",
412 "readmeFilename": "README.md",
413 "users": {
414 "daizch": true
415 }
416 }