An open API service for producing an overview of a list of open source projects.

https://github.com/sindresorhus/has-flag

Score: 30.341090884778268

Last synced: about 4 hours ago
JSON representation

Repository metadata:

Check if argv has a specific flag


Owner metadata:


GitHub Events

Total
Last Year

Committers metadata

Last synced: 5 days ago

Total Commits: 22
Total Committers: 7
Avg Commits per committer: 3.143
Development Distribution Score (DDS): 0.273

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Sindre Sorhus s****s@g****m 16
Richie Bendall r****l@g****m 1
Phred f****e@g****m 1
Mark Wubben m****k@n****t 1
Guy Bedford g****d@g****m 1
Dimitri Benin B****r 1
Corey Farrell g****t@c****m 1

Issue and Pull Request metadata

Last synced: about 1 month ago

Total issues: 3
Total pull requests: 11
Average time to close issues: 22 minutes
Average time to close pull requests: 5 days
Total issue authors: 3
Total pull request authors: 11
Average comments per issue: 1.67
Average comments per pull request: 1.64
Merged pull request: 5
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/sindresorhus/has-flag

Top Issue Authors

  • Eason-Wu (1)
  • hamsterready (1)
  • Jonathan-den (1)

Top Pull Request Authors

  • novemberborn (1)
  • guybedford (1)
  • fearphage (1)
  • coreyfarrell (1)
  • barbogast (1)
  • Arrow7000 (1)
  • BendingBender (1)
  • Richienb (1)
  • kevinke (1)
  • alisonmonteiro (1)
  • andyfleming (1)

Top Issue Labels

Top Pull Request Labels


Package metadata

debian-13: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Documentation: https://packages.debian.org/trixie/node-has-flag
  • Licenses: mit
  • Latest release: 5.0.1-1 (published 6 months ago)
  • Last Synced: 2026-03-14T07:04:24.670Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.641%
    • Stargazers count: 1.198%
    • Forks count: 1.365%
npmjs.org: has-flag

Check if argv has a specific flag

  • Homepage: https://github.com/sindresorhus/has-flag#readme
  • Licenses: MIT
  • Latest release: 5.0.1 (published about 5 years ago)
  • Last Synced: 2026-08-10T00:56:44.476Z (1 day ago)
  • Versions: 6
  • Dependent Packages: 2,772
  • Dependent Repositories: 1,287,734
  • Downloads: 1,192,868,812 Last month
  • Docker Downloads: 21,172,323,369
  • Rankings:
    • Downloads: 0.0%
    • Docker downloads count: 0.0%
    • Dependent repos count: 0.027%
    • Dependent packages count: 0.029%
    • Average: 1.771%
    • Stargazers count: 5.186%
    • Forks count: 5.386%
  • Maintainers (1)
  • Funding:
    • https://github.com/sponsors/sindresorhus
proxy.golang.org: github.com/sindresorhus/has-flag

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/sindresorhus/has-flag#section-documentation
  • Licenses: mit
  • Latest release: v5.0.1+incompatible (published about 5 years ago)
  • Last Synced: 2026-08-10T00:56:47.099Z (1 day ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 4.811%
    • Average: 4.973%
    • Dependent repos count: 5.135%
repo1.maven.org: org.webjars.bowergithub.sindresorhus:has-flag

WebJar for has-flag

  • Homepage: http://webjars.org
  • Documentation: https://appdoc.app/artifact/org.webjars.bowergithub.sindresorhus/has-flag/
  • Licenses: MIT
  • Latest release: 1.0.0 (published almost 8 years ago)
  • Last Synced: 2026-08-10T00:56:50.880Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 1
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 19.965%
    • Forks count: 24.148%
    • Average: 27.023%
    • Dependent repos count: 31.98%
    • Dependent packages count: 31.998%
repo1.maven.org: org.webjars.npm:has-flag

WebJar for has-flag

  • Homepage: https://www.webjars.org
  • Documentation: https://appdoc.app/artifact/org.webjars.npm/has-flag/
  • Licenses: MIT
  • Latest release: 5.0.1 (published over 1 year ago)
  • Last Synced: 2026-08-10T00:56:51.924Z (1 day ago)
  • Versions: 6
  • Dependent Packages: 2
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 23.155%
    • Stargazers count: 27.78%
    • Average: 30.439%
    • Dependent repos count: 35.301%
    • Forks count: 35.517%
ubuntu-22.04: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Licenses: mit
  • Latest release: 4.0.0-2 (published 6 months ago)
  • Last Synced: 2026-03-07T16:33:27.613Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Licenses: mit
  • Latest release: 5.0.1-1 (published 6 months ago)
  • Last Synced: 2026-03-09T07:26:05.172Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-10: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag#readme
  • Documentation: https://packages.debian.org/buster/node-has-flag
  • Licenses: mit
  • Latest release: 2.0.0-1 (published 6 months ago)
  • Last Synced: 2026-07-27T06:02:40.794Z (15 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-11: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Documentation: https://packages.debian.org/bullseye/node-has-flag
  • Licenses: mit
  • Latest release: 4.0.0-1 (published 6 months ago)
  • Last Synced: 2026-03-13T23:34:22.438Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-20.04: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Licenses: mit
  • Latest release: 4.0.0-1 (published 6 months ago)
  • Last Synced: 2026-03-13T09:23:34.325Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-12: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Documentation: https://packages.debian.org/bookworm/node-has-flag
  • Licenses: mit
  • Latest release: 4.0.0-3 (published 6 months ago)
  • Last Synced: 2026-03-13T20:43:30.189Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.04: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Licenses: mit
  • Latest release: 4.0.0-3 (published 6 months ago)
  • Last Synced: 2026-03-06T06:57:17.153Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
guix: node-has-flag

Check if argv has a specific flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/node-xyz.scm#n1448
  • Licenses: expat
  • Latest release: 3.0.0 (published 5 months ago)
  • Last Synced: 2026-04-27T16:55:13.082Z (4 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Licenses: mit
  • Latest release: 4.0.0-3 (published 6 months ago)
  • Last Synced: 2026-03-11T10:42:04.353Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.10: node-has-flag

  • Homepage: https://github.com/sindresorhus/has-flag
  • Licenses: mit
  • Latest release: 4.0.0-3 (published 6 months ago)
  • Last Synced: 2026-03-13T20:17:17.629Z (5 months ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%

Dependencies

package.json npm
  • ava ^3.15.0 development
  • tsd ^0.14.0 development
  • xo ^0.38.2 development