Jamo Sandbox
Categories
Command-Line Tools

has-flag

Check if argv has a specific flag

4.7Updated 2026-11-041 min read

By the numbers

Weekly Downloads
402,352,122
Dependent Packages
3,311
License
MIT
First Published
2015

The breakdown

Has-flag is completely free to use, with no paid tier required to get started.

has-flag is rated exceptionally well, scoring 4.7 out of 5 on our rating metric.

Over the period tracked, has-flag has seen a stable, mature user base over the past 3 years.

none of the 3 tracked metrics put has-flag above the command-line tools average.

has-flag dates back to 2015, making it one of the more established names in command-line tools.

Adoption trend

12115.5M20232026

has-flag vs. Command-Line Tools average

Featurehas-flagCommand-Line Tools average
Weekly Downloads402,352,122672,941,098
Dependent Packages3,3114,610
Popularity score4.7 / 54.8 / 5

The trade-offs

Strengths

  • Free to use, with no paid tier required to get started.

Watch-outs

  • Falls short on weekly downloads — 402,352,122 against a category average of 672,941,098.
  • Falls short on dependent packages — 3,311 against a category average of 4,610.
  • Popularity score trails the category average: 4.7 / 5 vs. 4.8 / 5.

Frequently asked questions

Is has-flag free to use?

Yes — has-flag is free, with no paid tier required to get started.

Is has-flag good? What's its rating?

has-flag scores 4.7 out of 5 on our rating metric, versus a Command-Line Tools category average of 4.8.

How many people use has-flag?

has-flag has roughly 402.4M users/stars tracked, compared to a category average of 672.9M.

When was has-flag founded?

has-flag was founded in 2015, making it 11 years old.

Is has-flag growing?

Yes — usage is up roughly 15% over the past 3 years.

Ready to see has-flag for yourself?

Opens the official site in a new tab.

Visit has-flag

More in Command-Line Tools