8 Best Vanilla JavaScript User Agent Parsing Libraries

List hand-picked by Openbase Experts
Learn More

isb

isbot

💻 JavaScript module that detects bots/crawlers/spiders via the user agent

License Icon
License: Unlicense
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
406
Weekly Downloads
80K
Last Commit
4mos ago
up

ua-parser

A multi-language port of Browserscope's user agent parser.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
3K
Last Commit
5yrs ago
uap

user-agent-parser

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

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
TypeScript Icon
Deprecated
User RatingN/A
Top Feedback
N/A
GitHub Stars
6K
Weekly Downloads
5K
Last Commit
3mos ago
ddj

device-detector-js

A precise user agent parser and device detector written in TypeScript

License Icon
License: LGPL-3.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
252
Weekly Downloads
34K
Last Commit
3mos ago
use

useragent

Useragent parser for Node.js, ported from browserscope.org

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
858
Weekly Downloads
970K
Last Commit
3yrs ago
dev

device

Device type detection library based on the useragent string. Refactored from my express-device repo.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
76
Weekly Downloads
25K
Last Commit
1yr ago

amfe-env

Parsing User-Agent on a mobile device, could detecting what os/browser/app.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
95
Weekly Downloads
56
Last Commit
6yrs ago
sj

sua.js

Simple user agent parser library. - NodeJS/Browser supported

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
6
Weekly Downloads
8
Last Commit
4yrs ago