Package · npm
has-flag
npm · v5.0.1 · MIT
Check if argv has a specific flag
Install
npm install has-flagAdoption
- Downloads (30 days)
- 1.2B
- Observeddownloads / 30 days
- Popularity
- Top 1% on npm
- Derived100th percentile within npm
- Dependents
- 3.3K
- Observedpackages that depend on it
- Maintenance
- 0.06
- DerivedRelease cadence and recency, 0 to 1
- Releases per year
- 1.0
- 6 versions over its life
Growth by period
Derived by Crest of Tech from two observations of npm’s own figure, a period apart. Nothing is stored or estimated: without an observation near the period’s start, the period is still collecting.
- 7 days
- −12.9% · 7d
- Derived−178.8M downloads / 30 days, OCT 17 → OCT 24
- 30 days
- −7.6% · 30d
- Derived−99.1M downloads / 30 days, SEP 24 → OCT 24
- 90 days
- −1.9% · 90d
- Derived−23.3M downloads / 30 days, JUL 27 → OCT 24
- 1 year
- +31.8% · 1y
- Derived+290.4M downloads / 30 days, OCT 27 → OCT 24
Adoption history
Adoption historydownloads / 30 days · 31 observations
Table of observations (31)
| Day | downloads / 30 days | Dependents |
|---|---|---|
| OCT 24, 2026 | 1,203,338,309 | 3,308 |
| OCT 23, 2026 | 1,139,857,069 | Not observed |
| OCT 22, 2026 | 1,203,338,309 | Not observed |
| OCT 21, 2026 | 1,194,197,456 | Not observed |
| OCT 20, 2026 | 1,258,415,070 | Not observed |
| OCT 19, 2026 | 1,310,337,083 | Not observed |
| OCT 18, 2026 | 1,359,920,656 | Not observed |
| OCT 17, 2026 | 1,382,124,179 | Not observed |
| OCT 16, 2026 | 1,408,856,130 | Not observed |
| OCT 15, 2026 | 1,407,425,623 | Not observed |
| OCT 14, 2026 | 1,407,425,623 | Not observed |
| OCT 13, 2026 | 1,466,972,713 | Not observed |
| OCT 12, 2026 | 1,495,152,137 | Not observed |
| OCT 11, 2026 | 1,461,851,307 | Not observed |
| OCT 10, 2026 | 1,481,438,715 | Not observed |
| OCT 9, 2026 | 1,507,402,852 | Not observed |
| OCT 8, 2026 | 1,507,220,353 | Not observed |
| OCT 7, 2026 | 1,441,650,385 | Not observed |
| OCT 6, 2026 | 1,377,643,011 | Not observed |
| OCT 5, 2026 | 1,372,100,629 | 3,309 |
| OCT 4, 2026 | 1,372,100,629 | Not observed |
| OCT 3, 2026 | 1,392,399,974 | Not observed |
| OCT 2, 2026 | 1,360,189,449 | Not observed |
| OCT 1, 2026 | 1,363,063,999 | Not observed |
| SEP 30, 2026 | 1,354,970,627 | Not observed |
| SEP 29, 2026 | 1,339,558,611 | Not observed |
| SEP 28, 2026 | 1,298,964,672 | Not observed |
| SEP 27, 2026 | 1,259,208,783 | Not observed |
| SEP 26, 2026 | 1,277,772,428 | Not observed |
| SEP 25, 2026 | 1,303,141,729 | Not observed |
| SEP 24, 2026 | 1,302,480,143 | Not observed |
Facts from the registry
- Latest version
- v5.0.1
- 6 versions
- First published
- JUL 7, 2015
- Last release
- JUL 19, 2021
- 5y ago
- Licence
- MIT
Repository
Not in the Crest catalog
sindresorhus/has-flag (GitHub, opens in a new tab)
The catalog tracks GitHub repositories with more than 500 stars; this one has no Crest page, so its figures are not shown here.
Dependencies latest version · v5.0.1
No dependencies are recorded for the latest version.
Related packages
- astral-dev-toolchain-just🤖 Just a command runnerSame primary category
- JasperFxFoundational helpers and command line support used by JasperFx and the Critter Stack projectsSame primary category
- execaProcess execution for humansSame primary category
- jsonargparseMinimal effort CLIs derived from type hints and parse from command line, config files and environment variables.Same primary category
- code.cloudfoundry.org/cli/integration/assets/hydrabrokerSame primary category
- System.Management.AutomationRuntime for hosting PowerShellSame primary category
Related news
No published news event mentions this package or its repository yet.