Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/wrappy.json

raw
1 {
2 "_id": "wrappy",
3 "_rev": "11-c9685a548d3be3f07ba70baaf86cf306",
4 "name": "wrappy",
5 "description": "Callback wrapping utility",
6 "dist-tags": {
7 "latest": "1.0.2"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "wrappy",
12 "version": "1.0.0",
13 "description": "Callback wrapping utility",
14 "main": "wrappy.js",
15 "directories": {
16 "test": "test"
17 },
18 "dependencies": {},
19 "devDependencies": {
20 "tap": "^0.4.12"
21 },
22 "scripts": {
23 "test": "tap test/*.js"
24 },
25 "repository": {
26 "type": "git",
27 "url": "https://github.com/npm/wrappy"
28 },
29 "author": {
30 "name": "Isaac Z. Schlueter",
31 "email": "[email protected]",
32 "url": "http://blog.izs.me/"
33 },
34 "license": "ISC",
35 "bugs": {
36 "url": "https://github.com/npm/wrappy/issues"
37 },
38 "homepage": "https://github.com/npm/wrappy",
39 "gitHead": "2a0cf2a39be2ebb4a53f2f87db739d98f2a5ebc5",
40 "_id": "[email protected]",
41 "_shasum": "8aae4fc6b4cd6be32a4553985bcf32b3ee131e4e",
42 "_from": ".",
43 "_npmVersion": "2.0.0",
44 "_nodeVersion": "0.10.31",
45 "_npmUser": {
46 "name": "isaacs",
47 "email": "[email protected]"
48 },
49 "maintainers": [
50 {
51 "name": "isaacs",
52 "email": "[email protected]"
53 }
54 ],
55 "dist": {
56 "shasum": "8aae4fc6b4cd6be32a4553985bcf32b3ee131e4e",
57 "tarball": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.0.tgz"
58 }
59 },
60 "1.0.1": {
61 "name": "wrappy",
62 "version": "1.0.1",
63 "description": "Callback wrapping utility",
64 "main": "wrappy.js",
65 "directories": {
66 "test": "test"
67 },
68 "dependencies": {},
69 "devDependencies": {
70 "tap": "^0.4.12"
71 },
72 "scripts": {
73 "test": "tap test/*.js"
74 },
75 "repository": {
76 "type": "git",
77 "url": "https://github.com/npm/wrappy"
78 },
79 "author": {
80 "name": "Isaac Z. Schlueter",
81 "email": "[email protected]",
82 "url": "http://blog.izs.me/"
83 },
84 "license": "ISC",
85 "bugs": {
86 "url": "https://github.com/npm/wrappy/issues"
87 },
88 "homepage": "https://github.com/npm/wrappy",
89 "gitHead": "006a8cbac6b99988315834c207896eed71fd069a",
90 "_id": "[email protected]",
91 "_shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
92 "_from": ".",
93 "_npmVersion": "2.0.0",
94 "_nodeVersion": "0.10.31",
95 "_npmUser": {
96 "name": "isaacs",
97 "email": "[email protected]"
98 },
99 "maintainers": [
100 {
101 "name": "isaacs",
102 "email": "[email protected]"
103 }
104 ],
105 "dist": {
106 "shasum": "1e65969965ccbc2db4548c6b84a6f2c5aedd4739",
107 "tarball": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz"
108 }
109 },
110 "1.0.2": {
111 "name": "wrappy",
112 "version": "1.0.2",
113 "description": "Callback wrapping utility",
114 "main": "wrappy.js",
115 "files": [
116 "wrappy.js"
117 ],
118 "directories": {
119 "test": "test"
120 },
121 "dependencies": {},
122 "devDependencies": {
123 "tap": "^2.3.1"
124 },
125 "scripts": {
126 "test": "tap --coverage test/*.js"
127 },
128 "repository": {
129 "type": "git",
130 "url": "git+https://github.com/npm/wrappy.git"
131 },
132 "author": {
133 "name": "Isaac Z. Schlueter",
134 "email": "[email protected]",
135 "url": "http://blog.izs.me/"
136 },
137 "license": "ISC",
138 "bugs": {
139 "url": "https://github.com/npm/wrappy/issues"
140 },
141 "homepage": "https://github.com/npm/wrappy",
142 "gitHead": "71d91b6dc5bdeac37e218c2cf03f9ab55b60d214",
143 "_id": "[email protected]",
144 "_shasum": "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f",
145 "_from": ".",
146 "_npmVersion": "3.9.1",
147 "_nodeVersion": "5.10.1",
148 "_npmUser": {
149 "name": "zkat",
150 "email": "[email protected]"
151 },
152 "dist": {
153 "shasum": "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f",
154 "tarball": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"
155 },
156 "maintainers": [
157 {
158 "name": "isaacs",
159 "email": "[email protected]"
160 },
161 {
162 "name": "zkat",
163 "email": "[email protected]"
164 }
165 ],
166 "_npmOperationalInternal": {
167 "host": "packages-16-east.internal.npmjs.com",
168 "tmp": "tmp/wrappy-1.0.2.tgz_1463527848281_0.037129373755306005"
169 }
170 }
171 },
172 "readme": "# wrappy\n\nCallback wrapping utility\n\n## USAGE\n\n```javascript\nvar wrappy = require(\"wrappy\")\n\n// var wrapper = wrappy(wrapperFunction)\n\n// make sure a cb is called only once\n// See also: http://npm.im/once for this specific use case\nvar once = wrappy(function (cb) {\n var called = false\n return function () {\n if (called) return\n called = true\n return cb.apply(this, arguments)\n }\n})\n\nfunction printBoo () {\n console.log('boo')\n}\n// has some rando property\nprintBoo.iAmBooPrinter = true\n\nvar onlyPrintOnce = once(printBoo)\n\nonlyPrintOnce() // prints 'boo'\nonlyPrintOnce() // does nothing\n\n// random property is retained!\nassert.equal(onlyPrintOnce.iAmBooPrinter, true)\n```\n",
173 "maintainers": [
174 {
175 "email": "[email protected]",
176 "name": "isaacs"
177 }
178 ],
179 "time": {
180 "modified": "2019-08-09T05:47:48.380Z",
181 "created": "2014-09-18T22:59:23.410Z",
182 "1.0.0": "2014-09-18T22:59:23.410Z",
183 "1.0.1": "2014-09-18T23:13:15.838Z",
184 "1.0.2": "2016-05-17T23:30:52.415Z"
185 },
186 "homepage": "https://github.com/npm/wrappy",
187 "repository": {
188 "type": "git",
189 "url": "git+https://github.com/npm/wrappy.git"
190 },
191 "author": {
192 "name": "Isaac Z. Schlueter",
193 "email": "[email protected]",
194 "url": "http://blog.izs.me/"
195 },
196 "bugs": {
197 "url": "https://github.com/npm/wrappy/issues"
198 },
199 "license": "ISC",
200 "readmeFilename": "README.md",
201 "users": {
202 "program247365": true,
203 "klap-webdevelopment": true,
204 "mojaray2k": true
205 }
206 }