bestiejs/platform.js
A platform detection library. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5579
- days_rel: n/a
- days_push: 1069
- n_releases_24m: 0
Adoption not part of the score
3243 stars · 405 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Platform.js is a JavaScript library that detects the browser, engine, OS, and device from the user agent, working across browsers and Node.js. It can also parse arbitrary UA strings, though it is intended for informational purposes rather than replacing feature detection.
Use cases
- detect browser name and version in javascript
- parse user agent strings
- identify operating system and device from ua
- show browser info on a support page
- get os and layout engine in node.js
When to choose
- you need lightweight browser/OS detection from a user agent string
- you must support legacy environments like old Node or PhantomJS
- you want a simple informational platform description string
When to avoid
- you need actively maintained detection for the latest browsers
- you want feature detection instead of user-agent sniffing
- the repo is archived and read-only since April 2024
Facets
library · maturity abandoned
parser developer-tools web-development developer-tools browser cross-platform user-agent-parsing platform-detection browser-detection os-detection ua-sniffing browsers nodejs javascript
2 sources
- readme: https://github.com/bestiejs/platform.js · fetched 2026-08-28 · cf4a0d972fd9
- homepage: https://mths.be/platform · fetched 2026-08-29 · 21384b70e52d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bestiejs/platform.js | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="bestiejs/platform.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem