yargs/yargs

yargs the modern, pirate-themed successor to optimist.

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 29 minutes ago
Type:Library / SDKCategory(s):CLI UtilitiesDeveloper Tools
Added to GitGenius on September 5th, 2026
Created on November 7th, 2013
Open Issues & Pull Requests: 211 (+0)
GitHub issues: Enabled
Number of forks: 1,053
Total Stargazers: 11,504 (+0)
Total Subscribers: 76 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 39.9 hours
Mean response time: 404.4 days
90th percentile: 2001.8 days
Tracked items: 206

Maintainer activity

3 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

94% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "docs" is answered fastest, typically in about 17 hours, while "feature request" waits about 5 days. Three people close 91% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 69
New in 7 days: 0
Closed in 7 days: 2
Avg open age: 2,032 days
Stale 30+ days: 48
Stale 90+ days: 27

Recent activity

Opened in 7 days: 0
Closed in 7 days: 2
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • feature request (43)
  • bug (27)
  • enhancement (22)
  • question (21)
  • triaged (18)
  • docs (11)
  • p2 (11)
  • typescript (9)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Yargs is a command-line argument parser for Node.js that helps developers build interactive CLI tools by parsing arguments and generating user interfaces.

The tool solves the problem of handling command-line arguments and options in a structured way. It parses argument strings into an object structure, allowing developers to define commands, grouped options, and flags. The parser generates a dynamically built help menu based on the arguments you define, and can produce completion scripts for Bash and Zsh to enhance the user experience.

Yargs suits projects that need a robust CLI interface with minimal boilerplate. It works well for applications ranging from simple single-command tools to complex multi-command programs with nested subcommands and configuration options. The tool supports TypeScript through type definitions, runs on Deno in addition to Node.js, and can even be used in browser environments, making it flexible across different JavaScript runtime contexts.

The project maintains active continuous integration with standard code style enforcement and conventional commit practices. Development activity shows consistent attention to test coverage and documentation maintenance across multiple supported platforms and use cases.