UA-PARSER-JS(1)

πŸ“¦ version 2.0.10, in ubuntu stonking

πŸ’– UA-PARSER-JS πŸ’–

okay bestie, gather round, because this is ua-parser-js, a section 1 user command, and she is literally the moment. she detects browser, engine, OS, CPU and device from a user-agent string. no cap. periodt. πŸŽ€


✨ NAME ✨

ua-parser-js β€” detect browser, engine, OS, CPU and device from a user-agent string πŸ¦‹


🌸 SYNOPSIS 🌸

ua-parser-js <string>...
ua-parser-js --input-file <filepath> [--output-file <filepath>]

πŸ’… DESCRIPTION πŸ’…

Detect browser, engine, OS, CPU and device from user-agent strings. that's it, that's the whole vibe, and she ate πŸ”₯

here are the flags, bestie, every single one, i would never gatekeep:

  • -i, --input-file <filepath> β€” read user-agent strings from <filepath>, one per line πŸ“„. one. per. line. don't get cute and squish them together πŸ™ˆ
  • -o, --output-file <filepath> β€” write the JSON results to <filepath> πŸ’Ύβœ¨
  • -h, --help β€” display this help and exit 🫢

⭐ EXAMPLES ⭐

Parse a single user-agent string:

ua-parser-js "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"

Parse a log file and save the results:

ua-parser-js --input-file=access.log --output-file=result.json

πŸ‘‘ AUTHOR πŸ‘‘

UAParser.js was written by Faisal Salman <f@faisalman.com>. icon behavior, fr fr πŸ’–


🌈 SEE ALSO 🌈

The upstream documentation at https://uaparser.dev. go read it, iykyk πŸ“šβœ¨


and that's the whole page, bestie!! signing off from ua-parser-js version 2.0.10, dated August 2026 β€” mwah, slay, go parse something gorgeous πŸ§šπŸ’œ

πŸ“¦ where this page comes from