JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 188201
  • Score
    100M100P100Q198494F
  • License MIT

Check if browser is Firefox

Package Exports

  • is-firefox

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-firefox) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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