Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 286 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 286 Bytes

browserr

This library allows you to determine a user's browser by the errors it throws. Currently it can tell the difference between:

  1. Chrome
  2. Firefox
  3. Safari

Usage

import browserr from 'browserr';

// 'chrome' | 'firefox' | 'safari'
const browser = browserr();