ua-parser-js 2.0.2

Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment

ua-parser-js@2.0.2 was published on 2025-02-09. Its manifest declares 5 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is *.

All ua-parser-js versions · Permanent reference to 2.0.2 · Latest release

Package specifications

Version2.0.2
License declarationAGPL-3.0-or-later
Published2025-02-09T18:00:12.597Z
Node.js requirement*
Type declarationsBundled declarations
Runtime dependency count5
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size1174.31 KiB
Published file count203
Package typecommonjs
ES module entrysrc/main/ua-parser.mjs
Default entrysrc/main/ua-parser.js
Side effects declarationNot declared
Direct advisories1
Resolved graph dependencies33
Repository stars10209
Repository forks1213

Install ua-parser-js 2.0.2

npm install ua-parser-js@2.0.2
pnpm add ua-parser-js@2.0.2
yarn add ua-parser-js@2.0.2

Runtime dependencies

Peer requirements

  • None declared

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

Known direct advisories

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Code-Review1/10 — Found 3/30 approved changesets -- score normalized to 1
Maintained10/10 — 16 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Security-Policy10/10 — security policy file detected
Token-Permissions9/10 — detected GitHub workflow tokens with excessive permissions
Binary-Artifacts10/10 — no binaries found in the repo
CII-Best-Practices5/10 — badge detected: Passing
License10/10 — license file detected
Fuzzing10/10 — project is fuzzed
Pinned-Dependencies7/10 — dependency not pinned by hash detected -- score normalized to 7
Packaging10/10 — packaging workflow detected
SAST10/10 — SAST tool is run on all commits

Evidence and freshness