detect-libc
npmv2.1.2TypeScriptNode.js module to detect the C standard library (libc) implementation family and version
Safe to adopt
Yes — detect-libc scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 339 days ago. 5 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- BMaintenance: grade B, Good.
Last published 339 days ago. 5 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 26 KB installed.
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
Apache-2.0 — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding detect-libc to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Compatibility
- Node.js
- node >=8
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the detect-libc README.
const GLIBC: string = 'glibc';Dependencies
Declared by detect-libc v2.1.2. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (7)
Used by
Popular packages that depend on detect-libc.
A native C++ Node module for querying and subscribing to filesystem events. Used by Parcel 2.
A CSS parser, transformer, and minifier written in Rust
A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node
Relationship graph
Dependencies (left) and dependents (right) of detect-libc.
Frequently installed together
An extremely fast JavaScript and CSS bundler and minifier.
Tool for transforming styles with JS plugins
A smaller version of caniuse-db, with only the essentials!
A light-weight module that brings Fetch API to node.js
Display differences clearly so people can review changes confidently.
The Babel Traverse module maintains the overall tree state, and is responsible for replacing, removing, and adding nodes
A JavaScript parser
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Prettier is an opinionated code formatter
Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
Release history
5 releases in the last two years, typically about 10 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.1.2latest | 11 months ago | 26 KB | Apache-2.0 |
| 2.1.1 | 11 months ago | 26 KB | Apache-2.0 |
| 2.1.0 | 1 year ago | 26 KB | Apache-2.0 |
| 2.1.0-rc.0 | 1 year ago | 26 KB | Apache-2.0 |
| 2.0.4 | 1 year ago | 23 KB | Apache-2.0 |
| 2.0.3 | 2 years ago | 23 KB | Apache-2.0 |
| 2.0.2 | 3 years ago | 23 KB | Apache-2.0 |
| 2.0.1 | 4 years ago | 19 KB | Apache-2.0 |
| 2.0.0 | 4 years ago | 19 KB | Apache-2.0 |
| 1.0.3 | 8 years ago | — | Apache-2.0 |
| 1.0.2 | 8 years ago | — | Apache-2.0 |
| 1.0.1 | 8 years ago | — | Apache-2.0 |
| 1.0.0 | 8 years ago | — | Apache-2.0 |
| 0.2.0 | 9 years ago | — | Apache-2.0 |
| 0.1.0 | 9 years ago | — | Apache-2.0 |
Overview
detect-libc is an npm package that node.js module to detect the C standard library (libc) implementation family and version. It has 3 known dependents in the graph. The latest version is 2.1.2, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need node.js module to detect the C standard library (libc) implementation family and version and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (Apache-2.0).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use detect-libc?
Yes — detect-libc scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 339 days ago. 5 releases in the last 2 years.
How do I install detect-libc?
Run `npm install detect-libc` to add detect-libc to your npm project.
What license is detect-libc released under?
detect-libc is distributed under the Apache-2.0 license.
How popular is detect-libc?
npm does not publish download counts. Within PackageGraph's crawl, 3 known packages depend on detect-libc.
Is detect-libc still maintained?
The most recent release of detect-libc (v2.1.2) was published 11 months ago.
Does detect-libc run install scripts?
No. detect-libc does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.