Skip to content
JS
Package

detect-browser

Unpack a browser type and version from the useragent string

v5.3.0, 4 Dec 2021MITESM + CommonJSTypes: Bundled
$ npm install detect-browser

Key numbers

As of 25 Sept 2026
Weekly downloads
2.1m
+57% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v5.3.0
GitHub stars
699
100 forks
Open issues / PRs
38 / 8
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3mSept 2025Mar 2026Sept 2026High 2.8m (25 Aug 2026)Low 787.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,115,382 downloads last week, 10,165,455 in the last month. The 12-month change of +57% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
049 in total
Latest version
5.3.0, 4 Dec 20214 years ago
First published
29 Jun 2014
Last push to GitHub
20 Aug 2024765 days before the snapshot
Repository archived
No
Open issues
38
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
869

Major versions

  1. v5 first release 5.0.0, 7 Mar 2020
  2. v4 first release 4.0.0, 5 Jan 2019
  3. v3 first release 3.0.0, 4 Jul 2018
  4. v2 first release 2.0.0, 25 Sept 2017
  5. v1 first release 1.0.0, 29 Jun 2014

Recent releases

VersionPublished
5.3.04 Dec 2021
5.2.116 Sept 2021
5.2.08 Oct 2020
5.1.116 Jun 2020
5.1.04 May 2020
5.0.07 Mar 2020
4.8.026 Oct 2019
4.7.08 Sept 2019
4.6.07 Jul 2019
4.5.110 Jun 2019
4.5.024 Apr 2019
4.4.014 Apr 2019
4.3.010 Apr 2019
4.2.18 Apr 2019
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
26 kB
Dependencies (0)
None
npm install detect-browser

CDN

jsDelivr: 1.7m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/detect-browser@5.3.0/
  • unpkghttps://unpkg.com/detect-browser@5.3.0/
  • esm.shhttps://esm.sh/detect-browser@5.3.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.