9 Best JavaScript User Agent API Libraries

List hand-picked by Openbase Experts
Learn More

upj

ua-parser-js

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
3
Top Feedback
2Great Documentation
2Easy to Use
GitHub Stars
6K
Weekly Downloads
10M
Last Commit
3mos ago

platform

A platform detection library.

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

bowser

a browser detector

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.4/ 5
5
Top Feedback
2Easy to Use
1Great Documentation
1Performant
GitHub Stars
5K
Weekly Downloads
4M
Last Commit
1yr ago
eu

express-useragent

NodeJS user-agent middleware

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
590
Weekly Downloads
167K
Last Commit
2yrs ago
db

detect-browser

Unpack a browser type and version from the useragent string

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
571
Weekly Downloads
638K
Last Commit
2mos 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
ru

random-useragent

Get a random user agent (with an optional filter to select from a specific set of user agents).

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

detector

🐶 客户端环境识别模块。(UserAgent detector)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
880
Weekly Downloads
2K
Last Commit
9mos ago
uuj

uupaa.useragent.js

Detect the OS, Browser and WebView from UserAgent String.

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