Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/pkg-config.json

raw
1 {
2 "_id": "pkg-config",
3 "_rev": "6-31db41d1cf32e4da3097194c14200051",
4 "name": "pkg-config",
5 "description": "parse the closest `package.json` and get package specific configurations",
6 "dist-tags": {
7 "latest": "1.1.1"
8 },
9 "versions": {
10 "0.0.0": {
11 "version": "0.0.0",
12 "name": "pkg-config",
13 "description": "parse the closest `package.json` and get package specific configurations",
14 "author": {
15 "name": "Ahmad Nassri",
16 "email": "[email protected]",
17 "url": "https://www.ahmadnassri.com/"
18 },
19 "homepage": "https://github.com/ahmadnassri/pkg-config",
20 "repository": {
21 "type": "git",
22 "url": "https://github.com/ahmadnassri/pkg-config"
23 },
24 "license": "MIT",
25 "keywords": [
26 "pkg-config"
27 ],
28 "engines": {
29 "node": ">=0.10"
30 },
31 "files": [
32 "index.js"
33 ],
34 "bugs": {
35 "url": "https://github.com/ahmadnassri/pkg-config/issues"
36 },
37 "scripts": {
38 "pretest": "standard && echint",
39 "test": "mocha",
40 "posttest": "npm run coverage",
41 "coverage": "istanbul cover --dir coverage _mocha -- -R dot",
42 "codeclimate": "codeclimate < coverage/lcov.info"
43 },
44 "echint": {
45 "ignore": [
46 "coverage/**"
47 ]
48 },
49 "devDependencies": {
50 "codeclimate-test-reporter": "0.0.4",
51 "echint": "^1.1.2",
52 "istanbul": "^0.3.14",
53 "mocha": "^2.2.5",
54 "should": "^6.0.3",
55 "standard": "^3.11.1"
56 },
57 "dependencies": {
58 "debug": "^2.2.0",
59 "find-root": "^0.1.1"
60 },
61 "gitHead": "ace2c96d623df7c6688fdb9846b82bc1ca9d556e",
62 "_id": "[email protected]",
63 "_shasum": "dd688a6ee763831643b4fec1fca1c52447fab2ee",
64 "_from": ".",
65 "_npmVersion": "2.7.4",
66 "_nodeVersion": "0.12.2",
67 "_npmUser": {
68 "name": "ahmadnassri",
69 "email": "[email protected]"
70 },
71 "maintainers": [
72 {
73 "name": "ahmadnassri",
74 "email": "[email protected]"
75 }
76 ],
77 "dist": {
78 "shasum": "dd688a6ee763831643b4fec1fca1c52447fab2ee",
79 "tarball": "https://registry.npmjs.org/pkg-config/-/pkg-config-0.0.0.tgz"
80 },
81 "directories": {}
82 },
83 "1.0.0": {
84 "version": "1.0.0",
85 "name": "pkg-config",
86 "description": "parse the closest `package.json` and get package specific configurations",
87 "author": {
88 "name": "Ahmad Nassri",
89 "email": "[email protected]",
90 "url": "https://www.ahmadnassri.com/"
91 },
92 "homepage": "https://github.com/ahmadnassri/pkg-config",
93 "repository": {
94 "type": "git",
95 "url": "https://github.com/ahmadnassri/pkg-config"
96 },
97 "license": "MIT",
98 "keywords": [
99 "pkg-config"
100 ],
101 "engines": {
102 "node": ">=0.10"
103 },
104 "files": [
105 "index.js"
106 ],
107 "bugs": {
108 "url": "https://github.com/ahmadnassri/pkg-config/issues"
109 },
110 "scripts": {
111 "pretest": "standard && echint",
112 "test": "mocha",
113 "posttest": "npm run coverage",
114 "coverage": "istanbul cover --dir coverage _mocha -- -R dot",
115 "codeclimate": "codeclimate < coverage/lcov.info"
116 },
117 "echint": {
118 "ignore": [
119 "coverage/**"
120 ]
121 },
122 "devDependencies": {
123 "codeclimate-test-reporter": "0.0.4",
124 "echint": "^1.1.2",
125 "istanbul": "^0.3.14",
126 "mocha": "^2.2.5",
127 "should": "^6.0.3",
128 "standard": "^3.11.1"
129 },
130 "dependencies": {
131 "debug": "^2.2.0",
132 "find-root": "^0.1.1"
133 },
134 "gitHead": "ace2c96d623df7c6688fdb9846b82bc1ca9d556e",
135 "_id": "[email protected]",
136 "_shasum": "69068f7143bd2fec542825d9009908d41eab46ad",
137 "_from": ".",
138 "_npmVersion": "2.7.4",
139 "_nodeVersion": "0.12.2",
140 "_npmUser": {
141 "name": "ahmadnassri",
142 "email": "[email protected]"
143 },
144 "maintainers": [
145 {
146 "name": "ahmadnassri",
147 "email": "[email protected]"
148 }
149 ],
150 "dist": {
151 "shasum": "69068f7143bd2fec542825d9009908d41eab46ad",
152 "tarball": "https://registry.npmjs.org/pkg-config/-/pkg-config-1.0.0.tgz"
153 },
154 "directories": {}
155 },
156 "1.0.1": {
157 "version": "1.0.1",
158 "name": "pkg-config",
159 "description": "parse the closest `package.json` and get package specific configurations",
160 "author": {
161 "name": "Ahmad Nassri",
162 "email": "[email protected]",
163 "url": "https://www.ahmadnassri.com/"
164 },
165 "homepage": "https://github.com/ahmadnassri/pkg-config",
166 "repository": {
167 "type": "git",
168 "url": "ahmadnassri/pkg-config"
169 },
170 "license": "MIT",
171 "keywords": [
172 "pkg-config"
173 ],
174 "engines": {
175 "node": ">=0.10"
176 },
177 "files": [
178 "index.js"
179 ],
180 "bugs": {
181 "url": "https://github.com/ahmadnassri/pkg-config/issues"
182 },
183 "scripts": {
184 "pretest": "standard && echint",
185 "test": "mocha",
186 "posttest": "npm run coverage",
187 "coverage": "istanbul cover --dir coverage _mocha -- -R dot",
188 "codeclimate": "codeclimate < coverage/lcov.info"
189 },
190 "echint": {
191 "ignore": [
192 "coverage/**"
193 ]
194 },
195 "devDependencies": {
196 "codeclimate-test-reporter": "0.0.4",
197 "echint": "^1.2.0",
198 "istanbul": "^0.3.15",
199 "mocha": "^2.2.5",
200 "should": "^6.0.3",
201 "standard": "^4.2.0"
202 },
203 "dependencies": {
204 "debug": "^2.2.0",
205 "find-root": "^0.1.1",
206 "xtend": "^4.0.0"
207 },
208 "gitHead": "c0cdff77b39cc7c074f43808c7a239e080564f59",
209 "_id": "[email protected]",
210 "_shasum": "73b5ece55bf1bee0c126c40acc3658de656e9fa4",
211 "_from": ".",
212 "_npmVersion": "2.7.4",
213 "_nodeVersion": "0.12.2",
214 "_npmUser": {
215 "name": "ahmadnassri",
216 "email": "[email protected]"
217 },
218 "maintainers": [
219 {
220 "name": "ahmadnassri",
221 "email": "[email protected]"
222 }
223 ],
224 "dist": {
225 "shasum": "73b5ece55bf1bee0c126c40acc3658de656e9fa4",
226 "tarball": "https://registry.npmjs.org/pkg-config/-/pkg-config-1.0.1.tgz"
227 },
228 "directories": {}
229 },
230 "1.1.0": {
231 "version": "1.1.0",
232 "name": "pkg-config",
233 "description": "parse the closest `package.json` and get package specific configurations",
234 "author": {
235 "name": "Ahmad Nassri",
236 "email": "[email protected]",
237 "url": "https://www.ahmadnassri.com/"
238 },
239 "homepage": "https://github.com/ahmadnassri/pkg-config",
240 "repository": {
241 "type": "git",
242 "url": "git+https://github.com/ahmadnassri/pkg-config.git"
243 },
244 "license": "MIT",
245 "keywords": [
246 "pkg-config"
247 ],
248 "engines": {
249 "node": ">=0.10"
250 },
251 "files": [
252 "index.js"
253 ],
254 "bugs": {
255 "url": "https://github.com/ahmadnassri/pkg-config/issues"
256 },
257 "scripts": {
258 "pretest": "standard && echint",
259 "test": "mocha",
260 "posttest": "npm run coverage",
261 "coverage": "istanbul cover --dir coverage _mocha -- -R dot",
262 "codeclimate": "codeclimate < coverage/lcov.info"
263 },
264 "echint": {
265 "ignore": [
266 "coverage/**"
267 ]
268 },
269 "devDependencies": {
270 "codeclimate-test-reporter": "0.1.0",
271 "echint": "^1.3.0",
272 "istanbul": "^0.3.17",
273 "mocha": "^2.2.5",
274 "should": "^7.0.1",
275 "standard": "^4.5.2"
276 },
277 "dependencies": {
278 "debug-log": "^1.0.0",
279 "find-root": "^0.1.1",
280 "xtend": "^4.0.0"
281 },
282 "gitHead": "e21c7f01463a0b0760675618d21e34f97c1b5e22",
283 "_id": "[email protected]",
284 "_shasum": "1f9684b12c0fd5bcef3b2bd75265433b97b74c5d",
285 "_from": ".",
286 "_npmVersion": "3.0.0",
287 "_nodeVersion": "0.12.2",
288 "_npmUser": {
289 "name": "ahmadnassri",
290 "email": "[email protected]"
291 },
292 "maintainers": [
293 {
294 "name": "ahmadnassri",
295 "email": "[email protected]"
296 }
297 ],
298 "dist": {
299 "shasum": "1f9684b12c0fd5bcef3b2bd75265433b97b74c5d",
300 "tarball": "https://registry.npmjs.org/pkg-config/-/pkg-config-1.1.0.tgz"
301 },
302 "directories": {}
303 },
304 "1.1.1": {
305 "version": "1.1.1",
306 "name": "pkg-config",
307 "description": "parse the closest `package.json` and get package specific configurations",
308 "author": {
309 "name": "Ahmad Nassri",
310 "email": "[email protected]",
311 "url": "https://www.ahmadnassri.com/"
312 },
313 "homepage": "https://github.com/ahmadnassri/pkg-config",
314 "repository": {
315 "type": "git",
316 "url": "git+https://github.com/ahmadnassri/pkg-config.git"
317 },
318 "license": "MIT",
319 "keywords": [
320 "pkg-config"
321 ],
322 "engines": {
323 "node": ">=0.10"
324 },
325 "files": [
326 "index.js"
327 ],
328 "bugs": {
329 "url": "https://github.com/ahmadnassri/pkg-config/issues"
330 },
331 "scripts": {
332 "pretest": "standard && echint",
333 "test": "mocha",
334 "posttest": "npm run coverage",
335 "coverage": "istanbul cover --dir coverage _mocha -- -R dot",
336 "codeclimate": "codeclimate < coverage/lcov.info"
337 },
338 "echint": {
339 "ignore": [
340 "coverage/**"
341 ]
342 },
343 "devDependencies": {
344 "codeclimate-test-reporter": "0.3.1",
345 "echint": "^1.5.3",
346 "istanbul": "^0.4.2",
347 "mocha": "^2.4.5",
348 "should": "^8.2.2",
349 "standard": "^6.0.8"
350 },
351 "dependencies": {
352 "debug-log": "^1.0.0",
353 "find-root": "^1.0.0",
354 "xtend": "^4.0.1"
355 },
356 "gitHead": "520f922a2ea4731be77603c306c2d50568dca2d3",
357 "_id": "[email protected]",
358 "_shasum": "557ef22d73da3c8837107766c52eadabde298fe4",
359 "_from": ".",
360 "_npmVersion": "3.7.3",
361 "_nodeVersion": "5.7.0",
362 "_npmUser": {
363 "name": "ahmadnassri",
364 "email": "[email protected]"
365 },
366 "maintainers": [
367 {
368 "name": "ahmadnassri",
369 "email": "[email protected]"
370 }
371 ],
372 "dist": {
373 "shasum": "557ef22d73da3c8837107766c52eadabde298fe4",
374 "tarball": "https://registry.npmjs.org/pkg-config/-/pkg-config-1.1.1.tgz"
375 },
376 "_npmOperationalInternal": {
377 "host": "packages-13-west.internal.npmjs.com",
378 "tmp": "tmp/pkg-config-1.1.1.tgz_1458708128079_0.771446582628414"
379 },
380 "directories": {}
381 }
382 },
383 "readme": "# pkg-config [![version][npm-version]][npm-url] [![License][npm-license]][license-url]\n\n> parse the closest `package.json` and get package specific configurations\n\nUseful for package developers to store package-related configuration in dependent's `package.json`.\n\ndefaults to `config` as root, which allows you to still leverage npm's standard [config](https://docs.npmjs.com/files/package.json#config)\n\n[![Build Status][travis-image]][travis-url]\n[![Downloads][npm-downloads]][npm-url]\n[![Code Climate][codeclimate-quality]][codeclimate-url]\n[![Coverage Status][codeclimate-coverage]][codeclimate-url]\n[![Dependencies][david-image]][david-url]\n\n## Install\n\n```sh\nnpm install --save pkg-config\n```\n\n## Usage\n\n###### sample package.json\n```json\n{\n ...\n\n \"config\": {\n \"my-pkg\": {\n \"foo\": \"bar\"\n }\n },\n\n \"settings\": {\n \"some-pkg\": {\n \"foo\": \"bar\"\n }\n }\n\n ...\n}\n```\n\n```js\n// defaults to `package.config`\nvar config = require('pkg-config')()\n\n// returns `package.config[my-pkg]`\nvar config = require('pkg-config')('my-pkg')\n\n// returns fallback value\nvar config = require('pkg-config')('another-pkg', false, {\n foo: 'baz'\n})\n\n// returns `package.settings[some-pkg]`\nvar config = require('pkg-config')('some-pkg', {\n root: 'settings'\n})\n\n// returns `package.settings`\nvar config = require('pkg-config')('settings', {\n root: false\n})\n```\n\n## API\n\n### config(namespace[, options, fallback])\n\n#### Arguments\n\n| name | description | default |\n| ----------- | ------------------------------------------------------------------------- | ----------- |\n| `namespace` | property name in `package.json`, typically this will be your package name | `undefined` |\n| `option` | see [`options`](#options) |\n| `fallback` | fallback value | `undefined` |\n\n#### Options\n\n| name | description | default |\n| ------ | ---------------------------------------------- | ------------- |\n| `root` | `package.json` object root | `config` |\n| `cwd` | starting directory to look for `package.json` | `process.cwd` |\n| `cache` | cache `package.json`'s content | `true` | \n\n\n## Support\n\nDonations are welcome to help support the continuous development of this project.\n\n[![Gratipay][gratipay-image]][gratipay-url]\n[![PayPal][paypal-image]][paypal-url]\n[![Flattr][flattr-image]][flattr-url]\n[![Bitcoin][bitcoin-image]][bitcoin-url]\n\n## License\n\n[MIT](LICENSE) &copy; [Ahmad Nassri](https://www.ahmadnassri.com)\n\n[license-url]: https://github.com/ahmadnassri/pkg-config/blob/master/LICENSE\n\n[travis-url]: https://travis-ci.org/ahmadnassri/pkg-config\n[travis-image]: https://img.shields.io/travis/ahmadnassri/pkg-config.svg?style=flat-square\n\n[npm-url]: https://www.npmjs.com/package/pkg-config\n[npm-license]: https://img.shields.io/npm/l/pkg-config.svg?style=flat-square\n[npm-version]: https://img.shields.io/npm/v/pkg-config.svg?style=flat-square\n[npm-downloads]: https://img.shields.io/npm/dm/pkg-config.svg?style=flat-square\n\n[codeclimate-url]: https://codeclimate.com/github/ahmadnassri/pkg-config\n[codeclimate-quality]: https://img.shields.io/codeclimate/github/ahmadnassri/pkg-config.svg?style=flat-square\n[codeclimate-coverage]: https://img.shields.io/codeclimate/coverage/github/ahmadnassri/pkg-config.svg?style=flat-square\n\n[david-url]: https://david-dm.org/ahmadnassri/pkg-config\n[david-image]: https://img.shields.io/david/ahmadnassri/pkg-config.svg?style=flat-square\n\n[gratipay-url]: https://www.gratipay.com/ahmadnassri/\n[gratipay-image]: https://img.shields.io/gratipay/ahmadnassri.svg?style=flat-square\n\n[paypal-url]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UJ2B2BTK9VLRS&on0=project&os0=pkg-config\n[paypal-image]: http://img.shields.io/badge/paypal-donate-green.svg?style=flat-square\n\n[flattr-url]: https://flattr.com/submit/auto?user_id=ahmadnassri&url=https://github.com/ahmadnassri/pkg-config&title=pkg-config&language=&tags=github&category=software\n[flattr-image]: http://img.shields.io/badge/flattr-donate-green.svg?style=flat-square\n\n[bitcoin-image]: http://img.shields.io/badge/bitcoin-1Nb46sZRVG3or7pNaDjthcGJpWhvoPpCxy-green.svg?style=flat-square\n[bitcoin-url]: https://www.coinbase.com/checkouts/ae383ae6bb931a2fa5ad11cec115191e?name=pkg-config\n",
384 "maintainers": [
385 {
386 "name": "ahmadnassri",
387 "email": "[email protected]"
388 }
389 ],
390 "time": {
391 "modified": "2016-10-26T16:51:28.996Z",
392 "created": "2015-05-29T09:24:01.052Z",
393 "0.0.0": "2015-05-29T09:24:01.052Z",
394 "1.0.0": "2015-05-29T09:24:48.092Z",
395 "1.0.1": "2015-06-12T02:59:26.951Z",
396 "1.1.0": "2015-07-06T02:51:59.852Z",
397 "1.1.1": "2016-03-23T04:42:10.628Z"
398 },
399 "homepage": "https://github.com/ahmadnassri/pkg-config",
400 "keywords": [
401 "pkg-config"
402 ],
403 "repository": {
404 "type": "git",
405 "url": "git+https://github.com/ahmadnassri/pkg-config.git"
406 },
407 "author": {
408 "name": "Ahmad Nassri",
409 "email": "[email protected]",
410 "url": "https://www.ahmadnassri.com/"
411 },
412 "bugs": {
413 "url": "https://github.com/ahmadnassri/pkg-config/issues"
414 },
415 "license": "MIT",
416 "readmeFilename": "README.md",
417 "users": {
418 "mswanson1524": true
419 },
420 "_attachments": {}
421 }