yargs
npmv18.0.0yargs the modern, pirate-themed, successor to optimist.
Overview
yargs is an npm package that yargs the modern, pirate-themed, successor to optimist. The latest version is 18.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need yargs the modern, pirate-themed, successor to optimist and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
Cons
- Large dependency tree (28 direct dependencies) increases install size and audit surface.
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of yargs.
Dependencies
Runtime (6)
Dev (22)
Used by
Popular packages that depend on yargs.
A framework for building native apps using React
Node.js library that communicates with Embedded Dart Sass using the Embedded Sass protocol
Delightful JavaScript Testing.
The official MongoDB driver for Node.js
Seamless REST/GraphQL API mocking library for browser and Node.js.
Alternatives to yargs
the complete solution for node.js command-line programs
Tool for transforming styles with JS plugins
A JavaScript parser
JavaScript parser and stringifier for YAML
Range header field string parser
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
The React Framework
Leaner CSS
Parse CLI arguments.
Robust, expressive, and feature-rich CSS superset
Indent-based CSS syntax for PostCSS
WebAssembly binary format parser
Frequently installed together
TypeScript definitions for node
The semantic version parser used by npm.
An extremely fast JavaScript and CSS bundler and minifier.
Prettier is an opinionated code formatter
Fast, unopinionated, minimalist web framework
[](https://github.com/mongodb-js/zstd/actions/workflows/test.yml)
Official client encryption module for the MongoDB Node.js driver
TypeScript definitions for yargs
Fastest Snappy compression library in Node.js
Get the metadata from a Google Cloud Platform environment
Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.
A collection of credential providers, without requiring service clients like STS, Cognito
Version history
| Version | Published | License |
|---|---|---|
| 17.7.3 | 1 month ago | MIT |
| 16.2.2 | 1 month ago | MIT |
| 16.2.2-candidate.0 | 1 month ago | MIT |
| 17.7.3-candidate.0 | 1 month ago | MIT |
| 18.0.0latest | 1 year ago | MIT |
| 18.0.0-candidate.7 | 1 year ago | MIT |
| 18.0.0-candidate.6 | 1 year ago | MIT |
| 18.0.0-candidate.5 | 1 year ago | MIT |
| 18.0.0-candidate.4 | 1 year ago | MIT |
| 18.0.0-candidate.3 | 1 year ago | MIT |
| 18.0.0-browser.2 | 1 year ago | MIT |
| 18.0.0-browser.1 | 1 year ago | MIT |
| 18.0.0-browser.0 | 1 year ago | MIT |
| 18.0.0-candidate.2 | 1 year ago | MIT |
| 18.0.0-candidate.1 | 1 year ago | MIT |
| 17.7.2 | 3 years ago | MIT |
| 17.7.1 | 3 years ago | MIT |
| 17.7.0 | 3 years ago | MIT |
| 17.6.2 | 3 years ago | MIT |
| 17.6.1 | 3 years ago | MIT |
Frequently asked questions
How do I install yargs?
Run `npm install yargs` to add yargs to your npm project.
What license is yargs released under?
yargs is distributed under the MIT license.
How popular is yargs?
yargs has approximately 0 downloads per week and 3 known dependent packages.