What is getopts?
"Parse CLI arguments."
getopts is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 17.7 KB on disk.
Installation Guide
# Install via NPM
npm install getopts
# Install via Yarn
yarn add getopts
Version 2.3.0 • License MIT
One-Line Verdict
"Stable for production use."
Healthy
Maintenance slowing down.
0 CVE History
No known CVEs.
17.7 KB
Light footprint.
3,175,318
Highly Trusted
Package Payload
0 Direct
Clean dependency structure.
Cold-Start Impact
+1 ms
Estimated execution overhead on standard hardware.
Current Threat Level
Verified Stable
"No known vulnerabilities detected. Version 2.3.0 is stable."
Accuracy Protocol
Scanned against OSV.dev (Google Open Source) databases. Last Deep-Scan: 2026.
Is getopts too heavy? Compare it with these industry standards:
"Parse CLI arguments."
getopts is used to facilitate high-performance Node.js workflows. It provides a slim footprint of 17.7 KB on disk.
# Install via NPM
npm install getopts
# Install via Yarn
yarn add getopts
You are currently viewing a proprietary security audit for getopts on PAudit. We aggregate global databases to provide a safety rating of 85/100.
Run npm install getopts. This installs version 2.3.0 and adds 0 direct dependencies to your project.
Yes, getopts records 3,175,318 weekly downloads, making it a Highly Trusted part of the ecosystem.