A program used to analyse useragent string
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
.gitignore
.npmignore
README.md
browser.js
browsercore.js
devicebrand.js
os.js
package.json
util.js

README.md

UA Detector

UA Detector is a library that focus on useragent analysing.

UA Detector runs on Node.js. You should install Node.js(at least 0.10.0) first, then do this in command line:

npm install uadetector -g

Simple usage

View package version

uadetect -v

Device brand analysing

uadetect "an useragent string" -devicebrand

OS analysing

uadetect "an useragent string" -os

Browser core analysing

uadetect "an useragent string" -browsercore

Browser analysing

uadetect "an useragent string" -browser

#Advanced usage

Specify output format

uadetect "an useragent string" -devicebrand -format "%name|%version"

Analyse all

uadetect "an useragent string" -devicebrand -os -browsercore -browser