is-firefox
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/is-firefox package

1.0.3 • Public • Published

is-firefox

Check if browser is Firefox

User agent sniffing is considered bad practice and should be avoided if possible.

Install

$ npm install --save is-firefox

Usage

var isFirefox = require('is-firefox');
 
console.log(isFirefox);
//=> false

License

MIT © Andreas Gillström

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    496,117
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    496,117
  • 1.0.2
    23
  • 1.0.1
    5
  • 1.0.0
    4
  • 0.0.0
    3

Package Sidebar

Install

npm i is-firefox

Weekly Downloads

200,465

Version

1.0.3

License

MIT

Last publish

Collaborators

  • gillstrom