parse-user-agent

parseUserAgent is a function that takes a user agent and returns the browser name and version (and soon the operating system and version).

Browse on unpkg