Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/is-npm.json

raw
1 {
2 "_id": "is-npm",
3 "_rev": "6-00ecf3746d23e10c2b19a11cc07e5e2f",
4 "name": "is-npm",
5 "description": "Check if your code is running as an npm script",
6 "dist-tags": {
7 "latest": "5.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "is-npm",
12 "version": "1.0.0",
13 "description": "Check if your code is running as an npm script",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git://github.com/sindresorhus/is-npm"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "http://sindresorhus.com"
23 },
24 "engines": {
25 "node": ">=0.10.0"
26 },
27 "scripts": {
28 "test": "node test.js"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "npm",
35 "is",
36 "check",
37 "detect",
38 "env",
39 "environment"
40 ],
41 "devDependencies": {
42 "ava": "0.0.3"
43 },
44 "bugs": {
45 "url": "https://github.com/sindresorhus/is-npm/issues"
46 },
47 "homepage": "https://github.com/sindresorhus/is-npm",
48 "_id": "[email protected]",
49 "_shasum": "f2fb63a65e4905b406c86072765a1a4dc793b9f4",
50 "_from": ".",
51 "_npmVersion": "1.4.9",
52 "_npmUser": {
53 "name": "sindresorhus",
54 "email": "[email protected]"
55 },
56 "maintainers": [
57 {
58 "name": "sindresorhus",
59 "email": "[email protected]"
60 }
61 ],
62 "dist": {
63 "shasum": "f2fb63a65e4905b406c86072765a1a4dc793b9f4",
64 "tarball": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz"
65 },
66 "directories": {}
67 },
68 "2.0.0": {
69 "name": "is-npm",
70 "version": "2.0.0",
71 "description": "Check if your code is running as an npm script",
72 "license": "MIT",
73 "repository": {
74 "type": "git",
75 "url": "git+https://github.com/sindresorhus/is-npm.git"
76 },
77 "author": {
78 "name": "Sindre Sorhus",
79 "email": "[email protected]",
80 "url": "sindresorhus.com"
81 },
82 "engines": {
83 "node": ">=6"
84 },
85 "scripts": {
86 "test": "xo && ava"
87 },
88 "files": [
89 "index.js"
90 ],
91 "keywords": [
92 "npm",
93 "is",
94 "check",
95 "detect",
96 "env",
97 "environment",
98 "run",
99 "script"
100 ],
101 "devDependencies": {
102 "ava": "*",
103 "xo": "*"
104 },
105 "gitHead": "2daa4ad780c5a07d73eb5c317a5b9e68f7a78473",
106 "bugs": {
107 "url": "https://github.com/sindresorhus/is-npm/issues"
108 },
109 "homepage": "https://github.com/sindresorhus/is-npm#readme",
110 "_id": "[email protected]",
111 "_npmVersion": "5.6.0",
112 "_nodeVersion": "8.9.4",
113 "_npmUser": {
114 "name": "sindresorhus",
115 "email": "[email protected]"
116 },
117 "dist": {
118 "integrity": "sha512-QQf2fxA0YpblpHS0FbtAk+BtNwj6ywTCyehGS8jpTLEUKFjh4sWZ+gIWaqLCDgtKrbdqB2umjGAqlTDIMiLM8A==",
119 "shasum": "d8449be037d3cf146ead95c67d84b76396fbdb32",
120 "tarball": "https://registry.npmjs.org/is-npm/-/is-npm-2.0.0.tgz",
121 "fileCount": 4,
122 "unpackedSize": 2328
123 },
124 "maintainers": [
125 {
126 "name": "sindresorhus",
127 "email": "[email protected]"
128 }
129 ],
130 "directories": {},
131 "_npmOperationalInternal": {
132 "host": "s3://npm-registry-packages",
133 "tmp": "tmp/is-npm_2.0.0_1521731162192_0.38421678949459337"
134 },
135 "_hasShrinkwrap": false
136 },
137 "3.0.0": {
138 "name": "is-npm",
139 "version": "3.0.0",
140 "description": "Check if your code is running as an npm script",
141 "license": "MIT",
142 "repository": {
143 "type": "git",
144 "url": "git+https://github.com/sindresorhus/is-npm.git"
145 },
146 "author": {
147 "name": "Sindre Sorhus",
148 "email": "[email protected]",
149 "url": "sindresorhus.com"
150 },
151 "engines": {
152 "node": ">=8"
153 },
154 "scripts": {
155 "test": "xo && ava && tsd-check"
156 },
157 "keywords": [
158 "npm",
159 "is",
160 "check",
161 "detect",
162 "env",
163 "environment",
164 "run",
165 "script"
166 ],
167 "devDependencies": {
168 "ava": "^1.3.1",
169 "tsd-check": "^0.3.0",
170 "xo": "^0.24.0"
171 },
172 "gitHead": "5e207a26760f883d91923e3bbfe4a1ed7a9f6a5a",
173 "bugs": {
174 "url": "https://github.com/sindresorhus/is-npm/issues"
175 },
176 "homepage": "https://github.com/sindresorhus/is-npm#readme",
177 "_id": "[email protected]",
178 "_nodeVersion": "8.15.0",
179 "_npmVersion": "6.9.0",
180 "_npmUser": {
181 "name": "sindresorhus",
182 "email": "[email protected]"
183 },
184 "dist": {
185 "integrity": "sha512-wsigDr1Kkschp2opC4G3yA6r9EgVA6NjRpWzIi9axXqeIaAATPRJc4uLujXe3Nd9uO8KoDyA4MD6aZSeXTADhA==",
186 "shasum": "ec9147bfb629c43f494cf67936a961edec7e8053",
187 "tarball": "https://registry.npmjs.org/is-npm/-/is-npm-3.0.0.tgz",
188 "fileCount": 5,
189 "unpackedSize": 2816,
190 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchgKKCRA9TVsSAnZWagAAlaIP/0yWMiijYVl6mBwXaafP\nfBVdF30qK8BfYe9AgMmFm/vEDTYL9UIPSWKsKVfYSwXOSGn/Lq/NUCHuaP4h\nUxv/NQ44Z1APFFffFEkR2lOiXCDx3iAmMGUUNibOQ3PD+f1CnsEUvu560x7j\n6GsfXlNW8iX+hExhqUkvuR5RvYs8IfTNP5WlGsHHsodPc9f+F3zI0lw6/MOP\ndU8Kn4hQA7K77h2uRF/fecDSEhdBhrKvgbYP7Ue2OSDPLxiHSHUgff45qVvr\n4TFMSagrRyj7lHouI2t9IwtIU5GBVCFgDiMfyK7zUFAIo7B6XK2oD4OkkF9q\nfabQLOQr1SeXZcaM+tp8TopWnumFkVsvkCp+Y+Feqd8kP/C9OUPcpethMzMx\nnsunHQg44f99cl1tevFhDVx4Ju6jgYUNvCGn405qhx8+P787foycWzVU7I67\nEecGPm6dHPjgkzNTH0z1YksdfZw+NOZqLuUvTFzeLhafNuTQeMRja6Nub0tw\n6BXN/5UIx2wwGAvoSu4/ELrkKiTst+ZG5pakhyWURYn2UMkKScmi4AhrTE2N\nLD7vNlZeJs5fxqcnDZ8CwcbD0sN9mOAVob+HTIkqXKnSamxrzC7x0+yapj82\nixsatyZGCqq4WwY4Q7q2c56op9ZTpoA79zfypB3QMiSuAymW7yTvXQK84zk4\naILq\r\n=47IG\r\n-----END PGP SIGNATURE-----\r\n"
191 },
192 "maintainers": [
193 {
194 "name": "sindresorhus",
195 "email": "[email protected]"
196 }
197 ],
198 "directories": {},
199 "_npmOperationalInternal": {
200 "host": "s3://npm-registry-packages",
201 "tmp": "tmp/is-npm_3.0.0_1552286345432_0.058244315730821006"
202 },
203 "_hasShrinkwrap": false
204 },
205 "4.0.0": {
206 "name": "is-npm",
207 "version": "4.0.0",
208 "description": "Check if your code is running as an npm script",
209 "license": "MIT",
210 "repository": {
211 "type": "git",
212 "url": "git+https://github.com/sindresorhus/is-npm.git"
213 },
214 "author": {
215 "name": "Sindre Sorhus",
216 "email": "[email protected]",
217 "url": "sindresorhus.com"
218 },
219 "engines": {
220 "node": ">=8"
221 },
222 "scripts": {
223 "test": "xo && ava && tsd-check"
224 },
225 "keywords": [
226 "npm",
227 "is",
228 "check",
229 "detect",
230 "env",
231 "environment",
232 "run",
233 "script"
234 ],
235 "devDependencies": {
236 "ava": "^2.4.0",
237 "tsd-check": "^0.6.0",
238 "xo": "^0.25.3"
239 },
240 "gitHead": "5721421c221d6ba641d7a2af76c1536ce22872b7",
241 "bugs": {
242 "url": "https://github.com/sindresorhus/is-npm/issues"
243 },
244 "homepage": "https://github.com/sindresorhus/is-npm#readme",
245 "_id": "[email protected]",
246 "_nodeVersion": "10.16.3",
247 "_npmVersion": "6.11.3",
248 "_npmUser": {
249 "name": "sindresorhus",
250 "email": "[email protected]"
251 },
252 "dist": {
253 "integrity": "sha512-96ECIfh9xtDDlPylNPXhzjsykHsMJZ18ASpaWzQyBr4YRTcVjUvzaHayDAES2oU/3KpljhHUjtSRNiDwi0F0ig==",
254 "shasum": "c90dd8380696df87a7a6d823c20d0b12bbe3c84d",
255 "tarball": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz",
256 "fileCount": 5,
257 "unpackedSize": 4794,
258 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpGx4CRA9TVsSAnZWagAAkvYP/j1lhQDssWarqk6bsMZZ\nwxGh0z8LbzdHjpvFH2NxHN72IDnQrDWNMwBFrSXMI+9wQz205AhXv82eYX6F\nracad/u2hKkj04fbxeMzPxtJp7wxaQ1jBOFOXl0sUeIggDnInrXNj+rfsKBt\nAPTrQWGUBJSJ9ffXE77aVboxyJ71JDeuBgJWRM8M7XQKkYOlszRPIIRWzS8A\nhmUwQsAEpBTXdW+VnNG4hK2YoTerXR3m/ujoLQab49BLrNPjHRC/33JamkwE\nxor3L02krVUa77+/3u6/toN2a4wU1Q5OrIFafacLkPMe0TtCm9FtddvBze3x\na+TGO0HtA6Z6JRePZzSYxMcDXXCUGCEbnF8TOJMv6jXvkTlL2NB22Or+HmKx\nyrv6/jowiIyMMwykuZj5iJKdf5WEjouQWTTgdKS8CE0T1kbHe6YckI5pM6cB\njwxByhhXmNlZ0E9UzrPFTJc9gNaTv59iafjfo97HUq2SyGCoLsv76yXbQ7Dn\nmMf1DrBfXizjyC02pe77yC6T/sgsM3tDrLxiREYRMq9KwTkKf3oYh+1ssXgh\nQ46JQSROO82lD9EKWIGAA6szjEdbsDh1BvMHPcPDbJNhLUDOSwHpgyWIDRGE\nV2SnO6wKzqo9mSpu42WyZPgmvlLkWjgMhk6ABQWLJwYb/cxTMsfV6y3YJvEE\nj1vr\r\n=d3Zq\r\n-----END PGP SIGNATURE-----\r\n"
259 },
260 "maintainers": [
261 {
262 "name": "sindresorhus",
263 "email": "[email protected]"
264 }
265 ],
266 "directories": {},
267 "_npmOperationalInternal": {
268 "host": "s3://npm-registry-packages",
269 "tmp": "tmp/is-npm_4.0.0_1571056759935_0.14280950742606424"
270 },
271 "_hasShrinkwrap": false
272 },
273 "5.0.0": {
274 "name": "is-npm",
275 "version": "5.0.0",
276 "description": "Check if your code is running as an npm script",
277 "license": "MIT",
278 "repository": {
279 "type": "git",
280 "url": "git+https://github.com/sindresorhus/is-npm.git"
281 },
282 "funding": "https://github.com/sponsors/sindresorhus",
283 "author": {
284 "name": "Sindre Sorhus",
285 "email": "[email protected]",
286 "url": "https://sindresorhus.com"
287 },
288 "engines": {
289 "node": ">=10"
290 },
291 "scripts": {
292 "test": "xo && ava && tsd"
293 },
294 "keywords": [
295 "npm",
296 "yarn",
297 "is",
298 "check",
299 "detect",
300 "env",
301 "environment",
302 "run",
303 "script"
304 ],
305 "devDependencies": {
306 "ava": "^2.4.0",
307 "tsd": "^0.11.0",
308 "xo": "^0.30.0"
309 },
310 "gitHead": "4647938c7ba294b161d07902020cf3f178815c29",
311 "bugs": {
312 "url": "https://github.com/sindresorhus/is-npm/issues"
313 },
314 "homepage": "https://github.com/sindresorhus/is-npm#readme",
315 "_id": "[email protected]",
316 "_nodeVersion": "10.20.1",
317 "_npmVersion": "6.14.4",
318 "_npmUser": {
319 "name": "sindresorhus",
320 "email": "[email protected]"
321 },
322 "dist": {
323 "integrity": "sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA==",
324 "shasum": "43e8d65cc56e1b67f8d47262cf667099193f45a8",
325 "tarball": "https://registry.npmjs.org/is-npm/-/is-npm-5.0.0.tgz",
326 "fileCount": 5,
327 "unpackedSize": 5104,
328 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevt33CRA9TVsSAnZWagAAH5gP/2sn6xtU+emTJj0p53dI\n5vcF9rgnVZWUWo52oLUN2q6P+7ZNMehn/ri7dJAVueq3KulU4HFp+0Pu4gdh\nez0x/KNrc7K6qqLP3d7TM9wPPVP0cSkG3f/OMiH8iAEfEs7rgvyjmYAcen4Y\n5fGM1RIiv8yKukWca3YTgu+n1+kvag6i1jWT0Ie1M2qD464cYgisKT0P2JDI\nd8wurtkafEFhCjhhLfzGsE9C9PwAfhrXP0V30dwoQzF3se2ext0/sGshUPtr\n4GCIkytMH2xiuukfz05VKOyVqKr3gQOEBvho8VnVRayDyqlEWeS4JNt06LGA\n83O6x3VfQcZHGIPZJXoMO1CVagvl0IxcX9dpDSObItkoL/zbaRGZDzlwIgir\nM+uXcjsTwKLBkiUg3ivRWJHVkx5aK5LDM2ZqmoWrxKM/4WCkZC+UTUFNncWZ\nbkGSz7Q7e/oWU+SNsxYfNluWD3OyiJQmGCaw1Xt6OQif1sH4MZ/gecig534g\nxf8NPFGS+RXmQKJnR2hdqfSzhzEOY30Pyh11kfx1w3ckktOZl3Wdd+mocqI0\n3eTZNTycry9t9C4zPri14ttTSMhkdiRRXstOAddGqjgu23pmXdFUu7jrYdn/\nJ65Fgq7HGnaiDuKeRFLFxuItrC8/3xGtl5SLayeDGdYX+FEpARQzlxUJJ15y\nqHfC\r\n=tEVi\r\n-----END PGP SIGNATURE-----\r\n"
329 },
330 "maintainers": [
331 {
332 "name": "sindresorhus",
333 "email": "[email protected]"
334 }
335 ],
336 "directories": {},
337 "_npmOperationalInternal": {
338 "host": "s3://npm-registry-packages",
339 "tmp": "tmp/is-npm_5.0.0_1589566966767_0.06135496724857736"
340 },
341 "_hasShrinkwrap": false
342 }
343 },
344 "readme": "# is-npm [![Build Status](https://travis-ci.com/sindresorhus/is-npm.svg?branch=master)](https://travis-ci.com/sindresorhus/is-npm)\n\n> Check if your code is running as an [npm](https://docs.npmjs.com/misc/scripts) or [yarn](https://yarnpkg.com/lang/en/docs/cli/run/) script\n\n## Install\n\n```\n$ npm install is-npm\n```\n\n## Usage\n\n```js\nconst {isNpmOrYarn, isNpm, isYarn} = require('is-npm');\n\nconsole.table({isNpmOrYarn, isNpm, isYarn});\n```\n\n```sh\n$ node foo.js\n# ┌─────────────┬────────┐\n# │ (index) │ Values │\n# ├─────────────┼────────┤\n# │ isNpmOrYarn │ false │\n# │ isNpm │ false │\n# │ isYarn │ false │\n# └─────────────┴────────┘\n$ npm run foo\n# ┌─────────────┬────────┐\n# │ (index) │ Values │\n# ├─────────────┼────────┤\n# │ isNpmOrYarn │ true │\n# │ isNpm │ true │\n# │ isYarn │ false │\n# └─────────────┴────────┘\n$ yarn run foo\n# ┌─────────────┬────────┐\n# │ (index) │ Values │\n# ├─────────────┼────────┤\n# │ isNpmOrYarn │ true │\n# │ isNpm │ false │\n# │ isYarn │ true │\n# └─────────────┴────────┘\n```\n\n## Related\n\n- [is-npm-cli](https://github.com/sindresorhus/is-npm-cli) - CLI for this module\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-is-npm?utm_source=npm-is-npm&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n",
345 "maintainers": [
346 {
347 "name": "sindresorhus",
348 "email": "[email protected]"
349 }
350 ],
351 "time": {
352 "modified": "2020-05-15T18:22:49.302Z",
353 "created": "2014-07-20T09:36:12.205Z",
354 "1.0.0": "2014-07-20T09:36:12.205Z",
355 "2.0.0": "2018-03-22T15:06:02.269Z",
356 "3.0.0": "2019-03-11T06:39:05.582Z",
357 "4.0.0": "2019-10-14T12:39:20.075Z",
358 "5.0.0": "2020-05-15T18:22:46.880Z"
359 },
360 "homepage": "https://github.com/sindresorhus/is-npm#readme",
361 "keywords": [
362 "npm",
363 "yarn",
364 "is",
365 "check",
366 "detect",
367 "env",
368 "environment",
369 "run",
370 "script"
371 ],
372 "repository": {
373 "type": "git",
374 "url": "git+https://github.com/sindresorhus/is-npm.git"
375 },
376 "author": {
377 "name": "Sindre Sorhus",
378 "email": "[email protected]",
379 "url": "https://sindresorhus.com"
380 },
381 "bugs": {
382 "url": "https://github.com/sindresorhus/is-npm/issues"
383 },
384 "license": "MIT",
385 "readmeFilename": "readme.md"
386 }