{"_id":"detect-libc","_rev":"4115709","name":"detect-libc","description":"Node.js module to detect the C standard library (libc) implementation family and version","dist-tags":{"latest":"2.1.2","next":"2.1.0-rc.0"},"maintainers":[{"name":"lovell","email":""}],"time":{"modified":"2026-02-12T21:48:41.000Z","created":"2017-07-03T20:58:20.378Z","2.1.2":"2025-10-05T12:46:33.077Z","2.1.1":"2025-09-24T13:59:42.822Z","2.1.0":"2025-09-14T17:51:19.046Z","2.1.0-rc.0":"2025-09-12T13:19:26.318Z","2.0.4":"2025-04-22T10:26:43.824Z","2.0.3":"2024-03-19T09:57:52.683Z","2.0.2":"2023-07-18T08:38:01.781Z","2.0.1":"2022-02-14T10:44:10.231Z","2.0.0":"2022-01-19T10:22:43.396Z","1.0.3":"2017-11-22T19:07:36.743Z","1.0.2":"2017-10-29T09:28:17.271Z","1.0.1":"2017-10-28T08:31:32.893Z","1.0.0":"2017-10-27T19:14:37.414Z","0.2.0":"2017-07-13T10:39:20.732Z","0.1.0":"2017-07-12T12:48:18.673Z","0.0.8":"2017-07-12T12:27:18.327Z","0.0.7":"2017-07-12T09:13:25.991Z","0.0.6":"2017-07-11T20:14:11.487Z","0.0.5":"2017-07-05T18:53:14.471Z","0.0.4":"2017-07-05T18:45:49.805Z","0.0.3":"2017-07-05T16:14:37.064Z","0.0.2":"2017-07-03T21:43:09.271Z","0.0.1":"2017-07-03T20:58:20.378Z"},"users":{},"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"versions":{"2.1.2":{"name":"detect-libc","version":"2.1.2","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js","changelog":"conventional-changelog -i CHANGELOG.md -s","bench":"node benchmark/detect-libc","bench:calls":"node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"},{"name":"Vinícius Lourenço","email":"vinyygamerlol@gmail.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","benchmark":"^2.1.4","conventional-changelog-cli":"^5.0.0","eslint-config-standard":"^13.0.1","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"types":"index.d.ts","_id":"detect-libc@2.1.2","gitHead":"98928b7d26bd5c50dee12af0e433b47825d84df0","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_nodeVersion":"24.9.0","_npmVersion":"11.6.0","dist":{"shasum":"689c5dcdc1900ef5583a4cb9f6d7b473742074ad","size":7776,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.1.2.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7c94fec9-16a6-4d41-b2de-9f895ba3988a"}},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detect-libc_2.1.2_1759668392888_0.45372697833758124"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-10-05T12:46:33.077Z","publish_time":1759668393077,"_source_registry_name":"default","_cnpm_publish_time":1759668393077},"2.1.1":{"name":"detect-libc","version":"2.1.1","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js","bench":"node benchmark/detect-libc","bench:calls":"node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"},{"name":"Vinícius Lourenço","email":"vinyygamerlol@gmail.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","benchmark":"^2.1.4","eslint-config-standard":"^13.0.1","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"types":"index.d.ts","_id":"detect-libc@2.1.1","gitHead":"81ba74212869938d64e7ef870b2bcc2cd7250fae","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"shasum":"9f1e511ace6bb525efea4651345beac424dac7b9","size":7731,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.1.1.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7c94fec9-16a6-4d41-b2de-9f895ba3988a"}},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detect-libc_2.1.1_1758722382566_0.8494167610377135"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-24T13:59:42.822Z","publish_time":1758722382822,"_source_registry_name":"default","_cnpm_publish_time":1758722382822},"2.1.0":{"name":"detect-libc","version":"2.1.0","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js","bench":"node benchmark/detect-libc","bench:calls":"node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"},{"name":"Vinícius Lourenço","email":"vinyygamerlol@gmail.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","benchmark":"^2.1.4","eslint-config-standard":"^13.0.1","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"types":"index.d.ts","_id":"detect-libc@2.1.0","gitHead":"f74b3687a019783478c4ce79be4348ec2871febb","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"shasum":"3ca811f60a7b504b0480e5008adacc660b0b8c4f","size":7729,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.1.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7c94fec9-16a6-4d41-b2de-9f895ba3988a"}},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detect-libc_2.1.0_1757872278849_0.13568857606123386"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-14T17:51:19.046Z","publish_time":1757872279046,"_source_registry_name":"default","_cnpm_publish_time":1757872279046},"2.1.0-rc.0":{"name":"detect-libc","version":"2.1.0-rc.0","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js","bench":"node benchmark/detect-libc","bench:calls":"node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"},{"name":"Vinícius Lourenço","email":"vinyygamerlol@gmail.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","benchmark":"^2.1.4","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"types":"index.d.ts","_id":"detect-libc@2.1.0-rc.0","readmeFilename":"README.md","gitHead":"41add954fcf558c112254dd7f5b56bcea37c0fee","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_nodeVersion":"24.8.0","_npmVersion":"11.6.0","dist":{"shasum":"97597d6b830dd63a25fbaec61614e267d9e6a244","size":7712,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.1.0-rc.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.1.0-rc.0.tgz"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7c94fec9-16a6-4d41-b2de-9f895ba3988a"}},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detect-libc_2.1.0-rc.0_1757683166150_0.5721539969546432"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-12T13:19:26.318Z","publish_time":1757683166318,"_source_registry_name":"default","_cnpm_publish_time":1757683166318},"2.0.4":{"name":"detect-libc","version":"2.0.4","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js","bench":"node benchmark/detect-libc","bench:calls":"node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"},{"name":"Vinícius Lourenço","email":"vinyygamerlol@gmail.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","benchmark":"^2.1.4","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"types":"index.d.ts","_id":"detect-libc@2.0.4","gitHead":"0b468c7302909c1376756aba59bd681126702be9","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"shasum":"f04715b8ba815e53b4d8109655b6508a6865a7e8","size":7103,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.0.4.tgz"},"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/detect-libc_2.0.4_1745317603644_0.7962491150981554"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-04-22T10:26:43.824Z","publish_time":1745317603824,"_source_registry_name":"default","_cnpm_publish_time":1745317603824},"2.0.3":{"name":"detect-libc","version":"2.0.3","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js","bench":"node benchmark/detect-libc","bench:calls":"node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"},{"name":"Vinícius Lourenço","email":"vinyygamerlol@gmail.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","benchmark":"^2.1.4","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"_id":"detect-libc@2.0.3","gitHead":"db8ea62694a6bd274366c2b4d982b13c074537a3","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"shasum":"f0cd503b40f9939b894697d19ad50895e30cf700","size":7109,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.0.3.tgz"},"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc_2.0.3_1710842272536_0.236372110431194"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-19T09:57:52.683Z","publish_time":1710842272683,"_source_registry_name":"default","_cnpm_publish_time":1710842272683},"2.0.2":{"name":"detect-libc","version":"2.0.2","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=lcov --check-coverage --branches=100 ava test/unit.js","bench":"node benchmark/detect-libc","bench:calls":"node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"},{"name":"Vinícius Lourenço","email":"vinyygamerlol@gmail.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","benchmark":"^2.1.4","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"gitHead":"f0edbc8f49b2f531aac64bd1d695d7386f4d569f","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@2.0.2","_nodeVersion":"18.16.0","_npmVersion":"9.6.5","dist":{"shasum":"8ccf2ba9315350e1241b88d0ac3b0e1fbd99605d","size":7117,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.0.2.tgz"},"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc_2.0.2_1689669481632_0.5067082093348458"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-18T08:38:01.781Z","publish_time":1689669481781,"_source_registry_name":"default","_cnpm_publish_time":1689669481781},"2.0.1":{"name":"detect-libc","version":"2.0.1","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=lcov --check-coverage --branches=100 ava test/unit.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"gitHead":"0e10bbb465414b99078fcdd9c69b0bc2df3ed745","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@2.0.1","_nodeVersion":"14.19.0","_npmVersion":"6.14.16","dist":{"shasum":"e1897aa88fa6ad197862937fbc0441ef352ee0cd","size":6377,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.0.1.tgz"},"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc_2.0.1_1644835450082_0.27267816695886715"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-14T10:45:34.403Z","publish_time":1644835450231,"_cnpm_publish_time":1644835450231},"2.0.0":{"name":"detect-libc","version":"2.0.0","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","scripts":{"test":"semistandard && nyc --reporter=lcov --check-coverage --branches=100 ava test/unit.js"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^2.4.0","nyc":"^15.1.0","proxyquire":"^2.1.3","semistandard":"^14.2.3"},"engines":{"node":">=8"},"gitHead":"19e2c00f8f6fc50cefb83c3fd3d774cf8f0e4918","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@2.0.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.10","dist":{"shasum":"c528bc09bc6d1aa30149228240917c225448f204","size":6372,"noattachment":false,"key":"/detect-libc/-/detect-libc-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-2.0.0.tgz"},"_npmUser":{"name":"lovell","email":"npm@lovell.info"},"directories":{},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc_2.0.0_1642587763020_0.6191330126779362"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-19T10:26:45.129Z","publish_time":1642587763396,"_cnpm_publish_time":1642587763396},"1.0.3":{"name":"detect-libc","version":"1.0.3","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && nyc --reporter=lcov ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^0.23.0","nyc":"^11.3.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=0.10"},"gitHead":"88df1a5950bf3cd9bffa1e0137ab6471c4546118","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@1.0.3","_shasum":"fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.1.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"dist":{"shasum":"fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b","size":6279,"noattachment":false,"key":"/detect-libc/-/detect-libc-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-1.0.3.tgz"},"maintainers":[{"name":"lovell","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-1.0.3.tgz_1511377655799_0.23113705799914896"},"directories":{},"publish_time":1511377656743,"_hasShrinkwrap":false,"_cnpm_publish_time":1511377656743},"1.0.2":{"name":"detect-libc","version":"1.0.2","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && nyc --reporter=lcov ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"contributors":[{"name":"Niklas Salmoukas","email":"niklas@salmoukas.com"}],"license":"Apache-2.0","devDependencies":{"ava":"^0.23.0","nyc":"^11.3.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=0.10"},"gitHead":"92e6276e5d8bfb8fdf4e22a52d9f9fc785f56e83","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@1.0.2","_shasum":"71ad5d204bf17a6a6ca8f450c61454066ef461e1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.1.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"71ad5d204bf17a6a6ca8f450c61454066ef461e1","size":6252,"noattachment":false,"key":"/detect-libc/-/detect-libc-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-1.0.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-1.0.2.tgz_1509269296302_0.9933948260731995"},"directories":{},"publish_time":1509269297271,"_hasShrinkwrap":false,"_cnpm_publish_time":1509269297271},"1.0.1":{"name":"detect-libc","version":"1.0.1","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && nyc --reporter=lcov ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.23.0","nyc":"^11.3.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=0.10"},"gitHead":"250755465bf514cd909fe838881bc4fde68e11e4","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@1.0.1","_shasum":"fe1894bc64d651f45bb6e079f3bbcbd9a26fc494","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.1.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"fe1894bc64d651f45bb6e079f3bbcbd9a26fc494","size":6137,"noattachment":false,"key":"/detect-libc/-/detect-libc-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-1.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-1.0.1.tgz_1509179492031_0.6935913264751434"},"directories":{},"publish_time":1509179492893,"_hasShrinkwrap":false,"_cnpm_publish_time":1509179492893},"1.0.0":{"name":"detect-libc","version":"1.0.0","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && nyc --reporter=lcov ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.23.0","nyc":"^11.2.1","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=0.10"},"gitHead":"7d7536306be42a2e25c2c775f0061498b11d1da9","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@1.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.7.0","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"79d86aa37fe719161e9465f82f132c00a598724a","size":5949,"noattachment":false,"key":"/detect-libc/-/detect-libc-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-1.0.0.tgz_1509131676507_0.05455085542052984"},"directories":{},"publish_time":1509131677414,"_hasShrinkwrap":false,"_cnpm_publish_time":1509131677414},"0.2.0":{"name":"detect-libc","version":"0.2.0","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && nyc --reporter=lcov ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","nyc":"^11.0.3","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"4642b204b34414b6089bca854939b05b3d2c1b7c","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.2.0","_shasum":"47fdf567348a17ec25fcbf0b9e446348a76f9fb5","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.1.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"47fdf567348a17ec25fcbf0b9e446348a76f9fb5","size":6020,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.2.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.2.0.tgz_1499942359678_0.36980422819033265"},"directories":{},"publish_time":1499942360732,"_hasShrinkwrap":false,"_cnpm_publish_time":1499942360732},"0.1.0":{"name":"detect-libc","version":"0.1.0","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"7b36e3454df446471f4cb8f89f80c50115d70e59","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.1.0","_shasum":"5760f8e78a3787d8b15fafdae4abed656cba8281","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.1.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"5760f8e78a3787d8b15fafdae4abed656cba8281","size":5844,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.1.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.1.0.tgz_1499863697721_0.15945673314854503"},"directories":{},"publish_time":1499863698673,"_cnpm_publish_time":1499863698673,"_hasShrinkwrap":false},"0.0.8":{"name":"detect-libc","version":"0.0.8","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"f38a4e65f8ffe7c37e4d724ca0152705a06d1ba4","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.0.8","_shasum":"6d85872129453f3485c830aea26eb43901670295","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.1.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"6d85872129453f3485c830aea26eb43901670295","size":5843,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.0.8.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.0.8.tgz_1499862437396_0.8144354657270014"},"directories":{},"publish_time":1499862438327,"_hasShrinkwrap":false,"_cnpm_publish_time":1499862438327},"0.0.7":{"name":"detect-libc","version":"0.0.7","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"c8609d7d7b47af459c313aaf41cc3563c81ad08b","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.0.7","_shasum":"83e00c6d5005566ad85d88068d5d891d7653f6dc","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.1.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"83e00c6d5005566ad85d88068d5d891d7653f6dc","size":5687,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.0.7.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.0.7.tgz_1499850805115_0.6814915009308606"},"directories":{},"publish_time":1499850805991,"_hasShrinkwrap":false,"_cnpm_publish_time":1499850805991},"0.0.6":{"name":"detect-libc","version":"0.0.6","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"89d34bfe360ed2dfe9d108f8c8db6fdce378657d","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.0.6","_shasum":"c982314a2f8afac07647c3188333b1f92f32fa01","_from":".","_npmVersion":"3.10.10","_nodeVersion":"8.1.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"c982314a2f8afac07647c3188333b1f92f32fa01","size":5647,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.0.6.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.0.6.tgz_1499804050501_0.5635840552859008"},"directories":{},"publish_time":1499804051487,"_cnpm_publish_time":1499804051487,"_hasShrinkwrap":false},"0.0.5":{"name":"detect-libc","version":"0.0.5","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"0dffcb1988d859b69ce9a22096765840e8cf6548","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.0.5","_shasum":"b733dffd51f744898c1148e24d4d4a8ba9c1ede1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"b733dffd51f744898c1148e24d4d4a8ba9c1ede1","size":5690,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.0.5.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.0.5.tgz_1499280793529_0.38893276965245605"},"directories":{},"publish_time":1499280794471,"_hasShrinkwrap":false,"_cnpm_publish_time":1499280794471},"0.0.4":{"name":"detect-libc","version":"0.0.4","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"lib/detect-libc.js","bin":{"detect-libc":"./bin/detect-libc.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"5fb5adccb6865bac46bb3961b49a8e57c3ad499c","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.0.4","_shasum":"eaf81433b59832a1107cf6ff397d258b209687ed","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"eaf81433b59832a1107cf6ff397d258b209687ed","size":5689,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.0.4.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.0.4.tgz_1499280348877_0.5235641626641154"},"directories":{},"publish_time":1499280349805,"_cnpm_publish_time":1499280349805,"_hasShrinkwrap":false},"0.0.3":{"name":"detect-libc","version":"0.0.3","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"index.js","bin":{"detect-libc-family":"./cli-family.js","detect-libc-version":"./cli-version.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"68efd6bb18fa4ec54b0575e50b39ca5efbb1da86","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.0.3","_shasum":"450cc62d3cf7117d6acb321cdafe953c6d8114f6","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"450cc62d3cf7117d6acb321cdafe953c6d8114f6","size":5664,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.0.3.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.0.3.tgz_1499271276149_0.3303824078757316"},"directories":{},"publish_time":1499271277064,"_hasShrinkwrap":false,"_cnpm_publish_time":1499271277064},"0.0.2":{"name":"detect-libc","version":"0.0.2","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"index.js","bin":{"detect-libc-family":"./cli-family.js","detect-libc-version":"./cli-version.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"6acd413c65dc9b9186f72c24df185b44e7e3cc3e","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.0.2","_shasum":"b5c90b3565cf7483f6ca21432340a1151811d031","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"b5c90b3565cf7483f6ca21432340a1151811d031","size":5123,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.0.2.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.0.2.tgz_1499118188324_0.5160433223936707"},"directories":{},"publish_time":1499118189271,"_cnpm_publish_time":1499118189271,"_hasShrinkwrap":false},"0.0.1":{"name":"detect-libc","version":"0.0.1","description":"Node.js module to detect the C standard library (libc) implementation family and version","main":"index.js","bin":{"detect-libc-family":"./cli-family.js","detect-libc-version":"./cli-version.js"},"scripts":{"test":"semistandard && ava"},"repository":{"type":"git","url":"git://github.com/lovell/detect-libc.git"},"keywords":["libc","glibc","musl"],"author":{"name":"Lovell Fuller","email":"npm@lovell.info"},"license":"Apache-2.0","devDependencies":{"ava":"^0.20.0","proxyquire":"^1.8.0","semistandard":"^11.0.0"},"engines":{"node":">=4"},"gitHead":"2af2acd52b2f34061d19d40d9e44e2b43eac5aa8","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"homepage":"https://github.com/lovell/detect-libc#readme","_id":"detect-libc@0.0.1","_shasum":"7b58b465e4e412099517361720754c830b5e1800","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"lovell","email":"npm@lovell.info"},"maintainers":[{"name":"lovell","email":""}],"dist":{"shasum":"7b58b465e4e412099517361720754c830b5e1800","size":5073,"noattachment":false,"key":"/detect-libc/-/detect-libc-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/detect-libc/download/detect-libc-0.0.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/detect-libc-0.0.1.tgz_1499115499208_0.6038856126833707"},"directories":{},"publish_time":1499115500378,"_hasShrinkwrap":false,"_cnpm_publish_time":1499115500378}},"readme":"# detect-libc\n\nNode.js module to detect details of the C standard library (libc)\nimplementation provided by a given Linux system.\n\nCurrently supports detection of GNU glibc and MUSL libc.\n\nProvides asychronous and synchronous functions for the\nfamily (e.g. `glibc`, `musl`) and version (e.g. `1.23`, `1.2.3`).\n\nThe version numbers of libc implementations\nare not guaranteed to be semver-compliant.\n\nFor previous v1.x releases, please see the\n[v1](https://github.com/lovell/detect-libc/tree/v1) branch.\n\n## Install\n\n```sh\nnpm install detect-libc\n```\n\n## API\n\n### GLIBC\n\n```ts\nconst GLIBC: string = 'glibc';\n```\n\nA String constant containing the value `glibc`.\n\n### MUSL\n\n```ts\nconst MUSL: string = 'musl';\n```\n\nA String constant containing the value `musl`.\n\n### family\n\n```ts\nfunction family(): Promise<string | null>;\n```\n\nResolves asychronously with:\n\n* `glibc` or `musl` when the libc family can be determined\n* `null` when the libc family cannot be determined\n* `null` when run on a non-Linux platform\n\n```js\nconst { family, GLIBC, MUSL } = require('detect-libc');\n\nswitch (await family()) {\n  case GLIBC: ...\n  case MUSL: ...\n  case null: ...\n}\n```\n\n### familySync\n\n```ts\nfunction familySync(): string | null;\n```\n\nSynchronous version of `family()`.\n\n```js\nconst { familySync, GLIBC, MUSL } = require('detect-libc');\n\nswitch (familySync()) {\n  case GLIBC: ...\n  case MUSL: ...\n  case null: ...\n}\n```\n\n### version\n\n```ts\nfunction version(): Promise<string | null>;\n```\n\nResolves asychronously with:\n\n* The version when it can be determined\n* `null` when the libc family cannot be determined\n* `null` when run on a non-Linux platform\n\n```js\nconst { version } = require('detect-libc');\n\nconst v = await version();\nif (v) {\n  const [major, minor, patch] = v.split('.');\n}\n```\n\n### versionSync\n\n```ts\nfunction versionSync(): string | null;\n```\n\nSynchronous version of `version()`.\n\n```js\nconst { versionSync } = require('detect-libc');\n\nconst v = versionSync();\nif (v) {\n  const [major, minor, patch] = v.split('.');\n}\n```\n\n### isNonGlibcLinux\n\n```ts\nfunction isNonGlibcLinux(): Promise<boolean>;\n```\n\nResolves asychronously with:\n\n* `false` when the libc family is `glibc`\n* `true` when the libc family is not `glibc`\n* `false` when run on a non-Linux platform\n\n```js\nconst { isNonGlibcLinux } = require('detect-libc');\n\nif (await isNonGlibcLinux()) { ... }\n```\n\n### isNonGlibcLinuxSync\n\n```ts\nfunction isNonGlibcLinuxSync(): boolean;\n```\n\nSynchronous version of `isNonGlibcLinux()`.\n\n```js\nconst { isNonGlibcLinuxSync } = require('detect-libc');\n\nif (isNonGlibcLinuxSync()) { ... }\n```\n\n## Licensing\n\nCopyright 2017 Lovell Fuller and others.\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","_attachments":{},"homepage":"https://github.com/lovell/detect-libc#readme","bugs":{"url":"https://github.com/lovell/detect-libc/issues"},"license":"Apache-2.0"}