-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 5.25 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"_args": [
[
{
"raw": "detect-libc@^1.0.3",
"scope": null,
"escapedName": "detect-libc",
"name": "detect-libc",
"rawSpec": "^1.0.3",
"spec": ">=1.0.3 <2.0.0",
"type": "range"
},
"C:\\Users\\nica_\\Desktop\\MI\\Anul III\\London Stock Spartans\\London Stock Spartans\\nodejs\\node_modules\\prebuild-install"
]
],
"_from": "detect-libc@>=1.0.3 <2.0.0",
"_id": "detect-libc@1.0.3",
"_inCache": true,
"_location": "/detect-libc",
"_nodeVersion": "8.1.3",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/detect-libc-1.0.3.tgz_1511377655799_0.23113705799914896"
},
"_npmUser": {
"name": "lovell",
"email": "npm@lovell.info"
},
"_npmVersion": "3.10.10",
"_phantomChildren": {},
"_requested": {
"raw": "detect-libc@^1.0.3",
"scope": null,
"escapedName": "detect-libc",
"name": "detect-libc",
"rawSpec": "^1.0.3",
"spec": ">=1.0.3 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/prebuild-install"
],
"_resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz",
"_shasum": "fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b",
"_shrinkwrap": null,
"_spec": "detect-libc@^1.0.3",
"_where": "C:\\Users\\nica_\\Desktop\\MI\\Anul III\\London Stock Spartans\\London Stock Spartans\\nodejs\\node_modules\\prebuild-install",
"author": {
"name": "Lovell Fuller",
"email": "npm@lovell.info"
},
"bin": {
"detect-libc": "./bin/detect-libc.js"
},
"bugs": {
"url": "https://github.com/lovell/detect-libc/issues"
},
"contributors": [
{
"name": "Niklas Salmoukas",
"email": "niklas@salmoukas.com"
}
],
"dependencies": {},
"description": "Node.js module to detect the C standard library (libc) implementation family and version",
"devDependencies": {
"ava": "^0.23.0",
"nyc": "^11.3.0",
"proxyquire": "^1.8.0",
"semistandard": "^11.0.0"
},
"directories": {},
"dist": {
"shasum": "fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b",
"tarball": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz"
},
"engines": {
"node": ">=0.10"
},
"gitHead": "88df1a5950bf3cd9bffa1e0137ab6471c4546118",
"homepage": "https://github.com/lovell/detect-libc#readme",
"keywords": [
"libc",
"glibc",
"musl"
],
"license": "Apache-2.0",
"main": "lib/detect-libc.js",
"maintainers": [
{
"name": "lovell",
"email": "npm@lovell.info"
}
],
"name": "detect-libc",
"optionalDependencies": {},
"readme": "# detect-libc\n\nNode.js module to detect the C standard library (libc) implementation\nfamily and version in use on a given Linux system.\n\nProvides a value suitable for use with the `LIBC` option of\n[prebuild](https://www.npmjs.com/package/prebuild),\n[prebuild-ci](https://www.npmjs.com/package/prebuild-ci) and\n[prebuild-install](https://www.npmjs.com/package/prebuild-install),\ntherefore allowing build and provision of pre-compiled binaries\nfor musl-based Linux e.g. Alpine as well as glibc-based.\n\nCurrently supports libc detection of `glibc` and `musl`.\n\n## Install\n\n```sh\nnpm install detect-libc\n```\n\n## Usage\n\n### API\n\n```js\nconst { GLIBC, MUSL, family, version, isNonGlibcLinux } = require('detect-libc');\n```\n\n* `GLIBC` is a String containing the value \"glibc\" for comparison with `family`.\n* `MUSL` is a String containing the value \"musl\" for comparison with `family`.\n* `family` is a String representing the system libc family.\n* `version` is a String representing the system libc version number.\n* `isNonGlibcLinux` is a Boolean representing whether the system is a non-glibc Linux, e.g. Alpine.\n\n### detect-libc command line tool\n\nWhen run on a Linux system with a non-glibc libc,\nthe child command will be run with the `LIBC` environment variable\nset to the relevant value.\n\nOn all other platforms will run the child command as-is.\n\nThe command line feature requires `spawnSync` provided by Node v0.12+.\n\n```sh\ndetect-libc child-command\n```\n\n## Integrating with prebuild\n\n```json\n \"scripts\": {\n \"install\": \"detect-libc prebuild-install || node-gyp rebuild\",\n \"test\": \"mocha && detect-libc prebuild-ci\"\n },\n \"dependencies\": {\n \"detect-libc\": \"^1.0.2\",\n \"prebuild-install\": \"^2.2.0\"\n },\n \"devDependencies\": {\n \"prebuild\": \"^6.2.1\",\n \"prebuild-ci\": \"^2.2.3\"\n }\n```\n\n## Licence\n\nCopyright 2017 Lovell Fuller\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/lovell/detect-libc.git"
},
"scripts": {
"test": "semistandard && nyc --reporter=lcov ava"
},
"version": "1.0.3"
}