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

Package Sidebar

Install

npm i is-firefox

Weekly Downloads

206,207

Version

1.0.3

License

MIT

Last publish

Collaborators

  • gillstrom