npm package
Homegetopts
Getopts is a lightweight library for parsing command-line interface (CLI) arguments into key-value pairs. It is ideal for building CLI tools that require argument parsing with a focus on performance and simplicity.
- lurq health score
- 43/100
- Confidence
- unproven
- Weekly downloads
- 4,984,833
- Latest version
- 2.3.0
- Last release
- Feb 15, 2021
- License
- MIT
Should you depend on getopts?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks getopts at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading getopts
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.0.2 → 2.3.0being extracted
- 0.0.1 → 1.0.2being extracted
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- puppeteer94/100 · proven
- puppeteer-core93/100 · proven
- @opentelemetry/sdk-trace92/100 · emerging
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 5, 2026; this page refreshes every 168 hours. Source repository.