command-line-args 5.2.1
A mature, feature-complete library to parse command-line options.
command-line-args@5.2.1 was published on 2022-01-29. Its manifest declares 4 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=4.0.0.
All command-line-args versions · Permanent reference to 5.2.1 · Latest release
Package specifications
| Version | 5.2.1 |
|---|---|
| License declaration | MIT |
| Published | 2022-01-29T12:44:29.600Z |
| Node.js requirement | >=4.0.0 |
| Type declarations | Not declared |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 114.02 KiB |
| Published file count | 14 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | dist/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 4 |
| Repository stars | 719 |
| Repository forks | 103 |
Install command-line-args 5.2.1
npm install command-line-args@5.2.1 pnpm add command-line-args@5.2.1 yarn add command-line-args@5.2.1
Runtime dependencies
- typical ^4.0.0
- array-back ^3.1.0
- find-replace ^3.0.0
- lodash.camelcase ^4.3.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- array-back@3.1.0 — direct
- find-replace@3.0.0 — direct
- lodash.camelcase@4.3.0 — direct
- typical@4.0.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 2/10 — Found 5/23 approved changesets -- score normalized to 2 |
| Token-Permissions | 9/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| Security-Policy | 0/10 — security policy file not detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/command-line-args/5.2.1 — retrieved 2026-10-29T11:42:00.712Z
- https://api.deps.dev/v3/projects/github.com%2F75lb%2Fcommand-line-args — retrieved 2026-10-29T11:35:40.735Z
- https://api.deps.dev/v3/systems/npm/packages/command-line-args/versions/5.2.1 — retrieved 2026-10-29T11:42:01.203Z
- https://api.deps.dev/v3/systems/npm/packages/command-line-args/versions/5.2.1:dependencies — retrieved 2026-10-29T11:42:01.245Z