User Agent Parser for Erlang
Erlang
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ebin
src
test
.gitignore
.travis.yml
Makefile
README.md
rebar
rebar.config

README.md

User Agent Parser Build Status

This small library allows you to quickly extract the platform and browser out of the user agent.

Usage

UA = ua_agent:new("Mozilla/5.0 (Windows; U; Windows NT 5.1; en) AppleWebKit/526.9 (KHTML, like Gecko) Version/4.0dp1 Safari/526.8").
UA:platform(). # => "Windows"
UA:browser().  # => "Safari"

Similar Projects