ua-device是由Baidu WebFE(FEX)团队开发的一个用于解析UA来得到用户终端信息的JS框架
user-agent ua-parser device-parser ua-deviceUseragent originated as port of browserscope.org's user agent parser project also known as ua-parser. Useragent allows you to parse user agent strings with high performance and accuracy by using hand tuned regular expressions for browser matching. This database is needed to ensure that every browser is correctly parsed as every browser vendor implements it's own user agent schema. This is why regular user agent parsers have major issues because they will most likely parse out the wrong browser name or confuse the render engine version with the actual version of the browser. This module relies on uap-core's regexes.yaml user agent database to parse user agent strings.
agent browser browserscope os parse parser ua ua-parse ua-parser user-agent user useragent versionYou have your choice in user-agent parsers. This one detects all modern browsers in a very light, quick, understandable fashion. It is less than 200 lines of code, and consists of just three regular expressions! It can also correctly identify exotic versions of IE others fail on.It offers 100% unit test coverage, is installable via Composer, and is very easy to use.
user-agent-parser browser ua-parser composerThis tool is used to build and maintain browscap files. There is actually only one cli command available.
user-agent user-agent-parser detect ua-parserThis is an improved fork from ua-parser which contains the following changes documented in the Changelog. The crux of the original parser --the data collected by Steve Souders over the years-- has been extracted into a separate YAML file so as to be reusable as is by implementations in other programming languages.
parser user-agent ua-parser
We have large collection of open source products. Follow the tags from
Tag Cloud >>
Open source products are scattered around the web. Please provide information
about the open source projects you own / you use.
Add Projects.