Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Dirt cheap User-Agent: parser
JavaScript Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
.npmignore
LICENSE
Makefile
README.md
index.js
package.json
ua.js

README.md

Run make to fetch and prepare the latest lookup database.

Usage:

var ua = require('ua').lookup('Mozilla/4.76 (Macintosh; I; PPC; Incompatible my ass! What if I don't want your jerky, elitist, ugly-assed css crap? Screw you!)');
console.log(ua);
Something went wrong with that request. Please try again.