yargs
v18.2.0SAFE Riskyargs the modern, pirate-themed, successor to optimist.
A+100/100
Install Command
npm install yargs
or
pnpm add yargsTyposquat Defense
Authentic Name
No similarity to known typosquatting targets.
Lifecycle Scripts
Clean Execution
Zero preinstall or postinstall arbitrary execution hooks.
License Type
MIT
Permissive open-source license. Safe for enterprise & proprietary software.
Package Specifications
Unpacked Size
231.2 KB
Dependencies
6
Maintainers
3
Last Published
Sep 20, 2026
Direct Dependencies (6)
Free VS Code Extension
Detect Supply Chain Attacks Directly in Your Editor
Get instant CodeLens risk scores, typosquatting warnings, and license audits right inside your package.json file with zero configuration.