skip to package search or skip to sign in
    ❤Ne Pas Manger!
    • Products
      • Pro
      • Teams
    • Pricing
    • Documentation

    npm

    Sign UpSign In

    has-flag
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.0 • Public • Published 4 years ago
    • Readme
    • Explore BETA
    • 0 Dependencies
    • 946 Dependents
    • 6 Versions

    Keywords

    • has
    • check
    • detect
    • contains
    • find
    • flag
    • cli
    • command-line
    • argv
    • process
    • arg
    • args
    • argument
    • arguments
    • getopt
    • minimist
    • optimist

    Install

    npm i has-flag@3.0.0

    Repository

    Gitgithub.com/sindresorhus/has-flag

    Homepage

    github.com/sindresorhus/has-flag#readme

    Fund this package

    Version

    3.0.0

    License

    MIT

    Last publish

    a year ago

    Collaborators

    • sindresorhus
    Try on RunKit
    Report malware
    Return to top of pageSupport
    • Help
    • Advisories
    • Status
    • Contact npm
    Company
    • About
    • Blog
    • Press
    Terms & Policies
    • Policies
    • Terms of Use
    • Code of Conduct
    • Privacy