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
    225,815
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    225,815
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i is-firefox

Weekly Downloads

225,815

Version

1.0.3

License

MIT

Last publish

Collaborators

  • gillstrom