Vigia

npm · npm:has-flag

has-flag active

Check if argv has a specific flag

Latest stable version5.0.1
Published2021-07-19 17:30:54 UTC
Requires (engines){"node":">=12"}
Peer dependencies—
Dist-tagslatest: 5.0.1
LicenseMIT
Advisories on latest versionnone known
Last verified2026-09-28 08:49:46 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activitydormant
Last stable release2021-07-19 17:30:54 UTC · 1897 days ago
Stable releases in the last 12 months0
Published versions6

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
5.0.12021-07-19 17:30:54 UTC
5.0.02021-04-16 07:50:13 UTC
4.0.02019-04-06 15:49:21 UTC
3.0.02018-01-02 19:21:56 UTC
2.0.02016-04-11 15:47:58 UTC
1.0.02015-07-07 22:43:54 UTC

Showing the 6 most recent of 6 versions. JSON

Frequently asked questions

What is the latest version of has-flag?

The latest stable version of has-flag is 5.0.1, published on 2021-07-19. Verified by Vigia on 2026-09-28.

Is has-flag deprecated?

No. has-flag is not marked as deprecated in the registry.

Which Node.js version does has-flag require?

has-flag 5.0.1 declares this requirement: {"node":">=12"}.

Does has-flag 5.0.1 have known vulnerabilities?

No known advisories affect has-flag 5.0.1 according to the data Vigia checks.

Is has-flag still maintained?

has-flag published 0 stable releases in the last 12 months; the most recent was 1897 days ago. Activity: dormant.

Observed changes

No changes observed yet since Vigia started tracking this package.

Related packages

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/has-flag
GET https://vigia.coredls.cloud/v1/packages/npm/has-flag/versions/{version}