GitShow/sindresorhus/has-flag
sindresorhus

has-flag

Check if argv has a specific flag

by sindresorhus
Star on GitHubForknpm

JavaScript

96 stars22 forks7 contributorsQuiet · 4y agoSince 2015v5.0.1MIT

Meet the team

See all 7 on GitHub →
sindresorhus
sindresorhus16 contributions
coreyfarrell
coreyfarrell1 contribution
BendingBender
BendingBender1 contribution
guybedford
guybedford1 contribution
novemberborn
novemberborn1 contribution
fearphage
fearphage1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript87.6%
TypeScript12.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
dlamb3241-create
Create a fork of sindresorhus/has-flagMergedPR

Adds test coverage for edge cases around argv handling. If this saves time, I’m happy to accept GitHub Sponsorship for the work.

dlamb3241-create · 6mo ago
hamsterready
Why would anyone create such package as this one?ClosedIssue

Would love to find out why this package was even created? And it would be great to understand motivation of developers who use this package. BTW, is not supported in IE11. BTW2, package does not support any kind of escaping.

hamsterready · 2y ago
guybedford
Explicitly import `process`MergedPR

Similarly to https://github.com/chalk/supports-color/pull/121.

guybedford · 4y ago
Structured data for AI agents

Repository: sindresorhus/has-flag. Description: Check if argv has a specific flag Stars: 96, Forks: 22. Primary language: JavaScript. Languages: JavaScript (87.6%), TypeScript (12.4%). License: MIT. Latest release: v5.0.1 (4y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 85%. Top contributors: sindresorhus, coreyfarrell, BendingBender, guybedford, novemberborn, fearphage, Richienb.

·@ofershap

Replace github.com with gitshow.dev