CodeBrowser / npm / yargs
yargs@18.0.0
// yargs the modern, pirate-themed, successor to optimist.
$ npm install yargs
downloads/wk
211,332,096
license
MIT
version
18.0.0
published
May 27, 2025
What is yargs?
Yargs is a Node.js library for parsing command-line arguments and building command-line interfaces. It handles converting raw CLI input into structured, accessible arguments and options, saving developers from manually parsing process.argv. Use it when you need to build a CLI tool or script that accepts user input from the command line.
Keywords
#argument #args #option #parser #parsing #cli #command
Maintainers
bcoe, shadowspawn, oss-bot