Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

is-firefox

gillstrom888.1kMIT1.0.3TypeScript support: definitely-typed

Check if browser is Firefox

browser, check, detect, ff, firefox, mozilla

readme

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