Debian Codegraph @

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

raw
1 {
2 "_id": "commondir",
3 "_rev": "17-56fbe9608f6ae3be1a2fd2264e939689",
4 "name": "commondir",
5 "description": "compute the closest common parent for file paths",
6 "dist-tags": {
7 "latest": "1.0.1"
8 },
9 "versions": {
10 "0.0.0": {
11 "name": "commondir",
12 "version": "0.0.0",
13 "description": "Compute the closest common parent for file paths",
14 "main": "index.js",
15 "directories": {
16 "lib": ".",
17 "example": "example",
18 "test": "test"
19 },
20 "dependencies": {},
21 "devDependencies": {
22 "expresso": "0.7.x"
23 },
24 "scripts": {
25 "test": "expresso"
26 },
27 "repository": {
28 "type": "git",
29 "url": "git://github.com/substack/node-commondir.git"
30 },
31 "keywords": [
32 "common",
33 "path",
34 "directory",
35 "file",
36 "parent",
37 "root"
38 ],
39 "author": {
40 "name": "James Halliday",
41 "email": "[email protected]",
42 "url": "http://substack.net"
43 },
44 "license": "MIT/X11",
45 "engine": {
46 "node": ">=0.4"
47 },
48 "_id": "[email protected]",
49 "engines": {
50 "node": "*"
51 },
52 "_engineSupported": true,
53 "_npmVersion": "1.0.10",
54 "_nodeVersion": "v0.5.0-pre",
55 "_defaultsLoaded": true,
56 "dist": {
57 "shasum": "25fb9c47fa486f81ddf74d6ef061fec59e6260ed",
58 "tarball": "https://registry.npmjs.org/commondir/-/commondir-0.0.0.tgz"
59 }
60 },
61 "0.0.1": {
62 "name": "commondir",
63 "version": "0.0.1",
64 "description": "Compute the closest common parent for file paths",
65 "main": "index.js",
66 "directories": {
67 "lib": ".",
68 "example": "example",
69 "test": "test"
70 },
71 "dependencies": {},
72 "devDependencies": {
73 "expresso": "0.7.x"
74 },
75 "scripts": {
76 "test": "expresso"
77 },
78 "repository": {
79 "type": "git",
80 "url": "git://github.com/substack/node-commondir.git"
81 },
82 "keywords": [
83 "common",
84 "path",
85 "directory",
86 "file",
87 "parent",
88 "root"
89 ],
90 "author": {
91 "name": "James Halliday",
92 "email": "[email protected]",
93 "url": "http://substack.net"
94 },
95 "license": "MIT/X11",
96 "engine": {
97 "node": ">=0.4"
98 },
99 "_npmUser": {
100 "name": "substack",
101 "email": "[email protected]"
102 },
103 "_id": "[email protected]",
104 "engines": {
105 "node": "*"
106 },
107 "_engineSupported": true,
108 "_npmVersion": "1.0.101",
109 "_nodeVersion": "v0.4.12",
110 "_defaultsLoaded": true,
111 "dist": {
112 "shasum": "89f00fdcd51b519c578733fec563e6a6da7f5be2",
113 "tarball": "https://registry.npmjs.org/commondir/-/commondir-0.0.1.tgz"
114 },
115 "maintainers": [
116 {
117 "name": "substack",
118 "email": "[email protected]"
119 }
120 ]
121 },
122 "0.0.2": {
123 "name": "commondir",
124 "version": "0.0.2",
125 "description": "compute the closest common parent for file paths",
126 "main": "index.js",
127 "dependencies": {},
128 "devDependencies": {
129 "tape": "^3.5.0"
130 },
131 "scripts": {
132 "test": "tape test/*.js"
133 },
134 "repository": {
135 "type": "git",
136 "url": "http://github.com/substack/node-commondir.git"
137 },
138 "keywords": [
139 "common",
140 "path",
141 "directory",
142 "file",
143 "parent",
144 "root"
145 ],
146 "author": {
147 "name": "James Halliday",
148 "email": "[email protected]",
149 "url": "http://substack.net"
150 },
151 "license": "MIT/X11",
152 "engine": {
153 "node": ">=0.4"
154 },
155 "gitHead": "089fac70cf240745ecde80d02e4193080ce4c5a3",
156 "bugs": {
157 "url": "https://github.com/substack/node-commondir/issues"
158 },
159 "homepage": "https://github.com/substack/node-commondir",
160 "_id": "[email protected]",
161 "_shasum": "c49c8880c6fe96844bb3525dd2e7314050c389ee",
162 "_from": ".",
163 "_npmVersion": "2.3.0",
164 "_nodeVersion": "0.12.0",
165 "_npmUser": {
166 "name": "substack",
167 "email": "[email protected]"
168 },
169 "maintainers": [
170 {
171 "name": "substack",
172 "email": "[email protected]"
173 }
174 ],
175 "dist": {
176 "shasum": "c49c8880c6fe96844bb3525dd2e7314050c389ee",
177 "tarball": "https://registry.npmjs.org/commondir/-/commondir-0.0.2.tgz"
178 },
179 "directories": {}
180 },
181 "1.0.0": {
182 "name": "commondir",
183 "version": "1.0.0",
184 "description": "compute the closest common parent for file paths",
185 "main": "index.js",
186 "dependencies": {},
187 "devDependencies": {
188 "tape": "^3.5.0"
189 },
190 "scripts": {
191 "test": "tape test/*.js"
192 },
193 "repository": {
194 "type": "git",
195 "url": "http://github.com/substack/node-commondir.git"
196 },
197 "keywords": [
198 "common",
199 "path",
200 "directory",
201 "file",
202 "parent",
203 "root"
204 ],
205 "author": {
206 "name": "James Halliday",
207 "email": "[email protected]",
208 "url": "http://substack.net"
209 },
210 "license": "MIT/X11",
211 "engine": {
212 "node": ">=0.4"
213 },
214 "gitHead": "b0033272cd882d60c05896d290fddfa716931e5d",
215 "bugs": {
216 "url": "https://github.com/substack/node-commondir/issues"
217 },
218 "homepage": "https://github.com/substack/node-commondir",
219 "_id": "[email protected]",
220 "_shasum": "3e1ca7fbeb5d582e007c1df27ca3e1070511db52",
221 "_from": ".",
222 "_npmVersion": "2.3.0",
223 "_nodeVersion": "0.12.0",
224 "_npmUser": {
225 "name": "substack",
226 "email": "[email protected]"
227 },
228 "maintainers": [
229 {
230 "name": "substack",
231 "email": "[email protected]"
232 }
233 ],
234 "dist": {
235 "shasum": "3e1ca7fbeb5d582e007c1df27ca3e1070511db52",
236 "tarball": "https://registry.npmjs.org/commondir/-/commondir-1.0.0.tgz"
237 },
238 "directories": {}
239 },
240 "1.0.1": {
241 "name": "commondir",
242 "version": "1.0.1",
243 "description": "compute the closest common parent for file paths",
244 "main": "index.js",
245 "dependencies": {},
246 "devDependencies": {
247 "tape": "^3.5.0"
248 },
249 "scripts": {
250 "test": "tape test/*.js"
251 },
252 "repository": {
253 "type": "git",
254 "url": "http://github.com/substack/node-commondir.git"
255 },
256 "keywords": [
257 "common",
258 "path",
259 "directory",
260 "file",
261 "parent",
262 "root"
263 ],
264 "author": {
265 "name": "James Halliday",
266 "email": "[email protected]",
267 "url": "http://substack.net"
268 },
269 "license": "MIT",
270 "engine": {
271 "node": ">=0.4"
272 },
273 "gitHead": "57797b60db24c60029f7593995241749b1704902",
274 "bugs": {
275 "url": "https://github.com/substack/node-commondir/issues"
276 },
277 "homepage": "https://github.com/substack/node-commondir",
278 "_id": "[email protected]",
279 "_shasum": "ddd800da0c66127393cca5950ea968a3aaf1253b",
280 "_from": ".",
281 "_npmVersion": "2.3.0",
282 "_nodeVersion": "0.12.0",
283 "_npmUser": {
284 "name": "substack",
285 "email": "[email protected]"
286 },
287 "maintainers": [
288 {
289 "name": "substack",
290 "email": "[email protected]"
291 }
292 ],
293 "dist": {
294 "shasum": "ddd800da0c66127393cca5950ea968a3aaf1253b",
295 "tarball": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz"
296 },
297 "directories": {}
298 }
299 },
300 "maintainers": [
301 {
302 "name": "substack",
303 "email": "[email protected]"
304 }
305 ],
306 "time": {
307 "modified": "2017-06-02T08:43:35.189Z",
308 "created": "2011-06-28T09:24:34.299Z",
309 "0.0.0": "2011-06-28T09:24:34.962Z",
310 "0.0.1": "2011-11-16T01:05:05.980Z",
311 "0.0.2": "2015-03-14T00:13:42.196Z",
312 "1.0.0": "2015-03-14T00:14:04.458Z",
313 "1.0.1": "2015-03-14T00:15:01.725Z"
314 },
315 "author": {
316 "name": "James Halliday",
317 "email": "[email protected]",
318 "url": "http://substack.net"
319 },
320 "repository": {
321 "type": "git",
322 "url": "http://github.com/substack/node-commondir.git"
323 },
324 "users": {
325 "wenbing": true,
326 "simplyianm": true,
327 "erikvold": true,
328 "lassevolkmann": true
329 },
330 "keywords": [
331 "common",
332 "path",
333 "directory",
334 "file",
335 "parent",
336 "root"
337 ],
338 "license": "MIT",
339 "readme": "# commondir\n\ncompute the closest common parent directory among an array of directories\n\n# example\n\n``` js\nvar commondir = require('commondir');\nvar dir = commondir(process.argv.slice(2))\nconsole.log(dir);\n```\n\noutput:\n\n```\n$ node dir.js /x/y/z /x/y /x/y/w/q\n/x/y\n$ node ../baz ../../foo/quux ./bizzy\n/foo\n```\n\n# methods\n\n``` js\nvar commondir = require('commondir');\n```\n\n## commondir(absolutePaths)\n\nCompute the closest common parent directory for an array `absolutePaths`.\n\n## commondir(basedir, relativePaths)\n\nCompute the closest common parent directory for an array `relativePaths` which\nwill be resolved for each `dir` in `relativePaths` according to:\n`path.resolve(basedir, dir)`.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install commondir\n```\n\n# license\n\nMIT\n",
340 "readmeFilename": "readme.markdown",
341 "homepage": "https://github.com/substack/node-commondir",
342 "bugs": {
343 "url": "https://github.com/substack/node-commondir/issues"
344 },
345 "_attachments": {}
346 }