Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/own-or.json

raw
1 {
2 "_id": "own-or",
3 "_rev": "1-82bd54ce54ef6d487ddfec09ebb1683f",
4 "name": "own-or",
5 "description": "Either use the object's own property, or a fallback",
6 "dist-tags": {
7 "latest": "1.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "own-or",
12 "version": "1.0.0",
13 "description": "Either use the object's own property, or a fallback",
14 "main": "own-or.js",
15 "scripts": {
16 "test": "node test.js"
17 },
18 "repository": {
19 "type": "git",
20 "url": "git+https://github.com/isaacs/own-or.git"
21 },
22 "author": {
23 "name": "Isaac Z. Schlueter",
24 "email": "[email protected]",
25 "url": "http://blog.izs.me/"
26 },
27 "license": "ISC",
28 "bugs": {
29 "url": "https://github.com/isaacs/own-or/issues"
30 },
31 "homepage": "https://github.com/isaacs/own-or#readme",
32 "gitHead": "371b3cc5d2699350ab08ffbb2ea89d30de24de44",
33 "_id": "[email protected]",
34 "_shasum": "4e877fbeda9a2ec8000fbc0bcae39645ee8bf8dc",
35 "_from": ".",
36 "_npmVersion": "3.10.10",
37 "_nodeVersion": "6.9.4",
38 "_npmUser": {
39 "name": "isaacs",
40 "email": "[email protected]"
41 },
42 "dist": {
43 "shasum": "4e877fbeda9a2ec8000fbc0bcae39645ee8bf8dc",
44 "tarball": "https://registry.npmjs.org/own-or/-/own-or-1.0.0.tgz"
45 },
46 "maintainers": [
47 {
48 "name": "isaacs",
49 "email": "[email protected]"
50 }
51 ],
52 "_npmOperationalInternal": {
53 "host": "packages-12-west.internal.npmjs.com",
54 "tmp": "tmp/own-or-1.0.0.tgz_1484783691384_0.7121810477692634"
55 },
56 "directories": {}
57 }
58 },
59 "readme": "# own-or\n\nEither use the object's own property, or a fallback\n\nUseful for setting default values.\n\n## API\n\n`ownOr(object, key, fallback)`\n\n## USAGE\n\n```js\nvar ownOr = require('own-or')\n\nvar config = { some: 'configs' }\n\nvar foo = ownOr(config, 'bar', 'baz') // 'baz'\nvar some = ownOr(config, 'some', 'quux') // 'configs'\n```\n",
60 "maintainers": [
61 {
62 "name": "isaacs",
63 "email": "[email protected]"
64 }
65 ],
66 "time": {
67 "modified": "2017-01-18T23:54:51.605Z",
68 "created": "2017-01-18T23:54:51.605Z",
69 "1.0.0": "2017-01-18T23:54:51.605Z"
70 },
71 "homepage": "https://github.com/isaacs/own-or#readme",
72 "repository": {
73 "type": "git",
74 "url": "git+https://github.com/isaacs/own-or.git"
75 },
76 "author": {
77 "name": "Isaac Z. Schlueter",
78 "email": "[email protected]",
79 "url": "http://blog.izs.me/"
80 },
81 "bugs": {
82 "url": "https://github.com/isaacs/own-or/issues"
83 },
84 "license": "ISC",
85 "readmeFilename": "README.md",
86 "_attachments": {}
87 }