is-firefox

Check if browser is Firefox

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
is-firefox
101.0.39 years ago9 years agoMinified + gzip package size for is-firefox in KB

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