has-flag

npmv5.0.1

Check if argv has a specific flag

License MITpermissive6 versions1 maintainers0 deps272,214,692 weekly dl
sindresorhus/has-flag
62
/ 100
Health
safe to use

[email protected] is safe to use (health: 62/100)

Health breakdown0 – 100
0/25
maintenance
20/20
popularity
25/25
security
15/15
maturity
2/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

πŸ“¦

Bundle Size

0.3 KBminified
0.3 KB gzipped
0 direct dependencies
side effects
🌟

TypeScript

0/10untyped
No type definitions available
OSS Scorecard
OpenSSF security posture score
3.6/10
weak
Maintainer trust
Active maintainers (3m)
1
Contributors (12m)
0
Primary author dominance
0%
GitHub stars
96
single active maintainer 3m
Quality signals
OSS Criticality
0.78critical
Download trend
stable(+0.6%)
Publish security
npm signed

Health History

Dependency Tree

License Audit

API access

Get this data programmatically β€” free, no authentication.

curl https://depscope.dev/api/check/npm/has-flag

First published Β· 2015-07-07T22:43:54.339Z

Last updated Β· 2021-07-19T17:30:54.122Z

has-flag β€” Health Score 62/100 | DepScope