 A Java\+Script-\/based User-\/\+Agent string parser. Can be used either in browser (client-\/side) or in node.\+js (server-\/side) environment. Also available as j\+Query/\+Zepto plugin, Bower/\+Meteor package, \& Require\+JS/\+AMD module. This library aims to identify detailed type of web browser, layout engine, operating system, cpu architecture, and device type/model, entirely from user-\/agent string with a relatively small footprint ($\sim$17\+KB when minified / $\sim$6\+KB gzipped). Written in vanilla Java\+Script, which means it doesn\textquotesingle{}t require any other library and can be used independently. However, it\textquotesingle{}s not recommended to use this library as browser detection since the result may not be more accurate than using feature detection.

\href{https://travis-ci.org/faisalman/ua-parser-js}{\texttt{ }} \href{https://www.npmjs.com/package/ua-parser-js}{\texttt{ }} \href{https://www.npmjs.com/package/ua-parser-js}{\texttt{ }} \href{https://bower.io/}{\texttt{ }} \href{https://cdnjs.com/libraries/UAParser.js}{\texttt{ }}


\begin{DoxyItemize}
\item Author \+: Faisal Salman $<$\href{mailto:f@faisalman.com}{\texttt{ f@faisalman.\+com}}$>$
\item Demo \+: \href{http://faisalman.github.io/ua-parser-js}{\texttt{ http\+://faisalman.\+github.\+io/ua-\/parser-\/js}}
\item Source \+: \href{https://github.com/faisalman/ua-parser-js}{\texttt{ https\+://github.\+com/faisalman/ua-\/parser-\/js}}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31252}{}\doxysection{Constructor}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31252}

\begin{DoxyItemize}
\item {\ttfamily new UAParser(\mbox{[}uastring\mbox{]}\mbox{[},extensions\mbox{]})}
\begin{DoxyItemize}
\item returns new instance
\end{DoxyItemize}
\item {\ttfamily UAParser(\mbox{[}uastring\mbox{]}\mbox{[},extensions\mbox{]})}
\begin{DoxyItemize}
\item returns result object `\{ ua\+: '\textquotesingle{}, browser\+: \{\}, cpu\+: \{\}, device\+: \{\}, engine\+: \{\}, os\+: \{\} \}\`{}
\end{DoxyItemize}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31253}{}\doxysection{Methods}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31253}

\begin{DoxyItemize}
\item {\ttfamily get\+Browser()}
\begin{DoxyItemize}
\item returns `\{ name\+: '\textquotesingle{}, version\+: \textquotesingle{}\textquotesingle{} \}\`{}
\end{DoxyItemize}
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{\# Possible 'browser.name':}
\DoxyCodeLine{2345Explorer, 360 Browser, Amaya, Android Browser, Arora, Avant, Avast, AVG, }
\DoxyCodeLine{BIDUBrowser, Baidu, Basilisk, Blazer, Bolt, Brave, Bowser, Camino, Chimera, }
\DoxyCodeLine{Chrome Headless, Chrome WebView, Chrome, Chromium, Comodo Dragon, Dillo, }
\DoxyCodeLine{Dolphin, Doris, Edge, Epiphany, Facebook, Falkon, Fennec, Firebird, Firefox, }
\DoxyCodeLine{Flock, GSA, GoBrowser, ICE Browser, IE, IEMobile, IceApe, IceCat, IceDragon, }
\DoxyCodeLine{Iceape, Iceweasel, Iridium, Iron, Jasmine, K-\/Meleon, Kindle, Konqueror, }
\DoxyCodeLine{LBBROWSER Line, Links, Lunascape, Lynx, MIUI Browser, Maemo Browser, Maemo, }
\DoxyCodeLine{Maxthon, MetaSr Midori, Minimo, Mobile Safari, Mosaic, Mozilla, NetFront, }
\DoxyCodeLine{NetSurf, Netfront, Netscape, NokiaBrowser, Oculus Browser, OmniWeb, }
\DoxyCodeLine{Opera Coast, Opera Mini, Opera Mobi, Opera Tablet, Opera, PaleMoon, PhantomJS, }
\DoxyCodeLine{Phoenix, Polaris, Puffin, QQ, QQBrowser, QQBrowserLite, Quark, QupZilla, }
\DoxyCodeLine{RockMelt, Safari, Sailfish Browser, Samsung Browser, SeaMonkey, Silk, Skyfire, }
\DoxyCodeLine{Sleipnir, Slim, SlimBrowser, Swiftfox, Tizen Browser, UCBrowser, Vivaldi, }
\DoxyCodeLine{Waterfox, WeChat, Yandex, baidu, iCab, w3m, ...}
\DoxyCodeLine{}
\DoxyCodeLine{\# 'browser.version' determined dynamically }

\end{DoxyCode}



\begin{DoxyItemize}
\item {\ttfamily get\+Device()}
\begin{DoxyItemize}
\item returns `\{ model\+: '\textquotesingle{}, type\+: \textquotesingle{}\textquotesingle{}, vendor\+: \textquotesingle{}\textquotesingle{} \}\`{}
\end{DoxyItemize}
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{\# Possible 'device.type':}
\DoxyCodeLine{console, mobile, tablet, smarttv, wearable, embedded}
\DoxyCodeLine{}
\DoxyCodeLine{\# Possible 'device.vendor':}
\DoxyCodeLine{Acer, Alcatel, Amazon, Apple, Archos, Asus, BenQ, BlackBerry, Dell, Essential,}
\DoxyCodeLine{GeeksPhone, Google, HP, HTC, Huawei, Jolla, Lenovo, LG, Meizu, Microsoft, Motorola,}
\DoxyCodeLine{Nexian, Nintendo, Nokia, Nvidia, OnePlus, Ouya, Palm, Panasonic, Pebble, Polytron,}
\DoxyCodeLine{RIM, Samsung, Sharp, Siemens, Sony[Ericsson], Sprint, Xbox, Xiaomi, ZTE, ...}
\DoxyCodeLine{}
\DoxyCodeLine{\# 'device.model' determined dynamically }

\end{DoxyCode}



\begin{DoxyItemize}
\item {\ttfamily get\+Engine()}
\begin{DoxyItemize}
\item returns `\{ name\+: '\textquotesingle{}, version\+: \textquotesingle{}\textquotesingle{} \}\`{}
\end{DoxyItemize}
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{\# Possible 'engine.name'}
\DoxyCodeLine{Amaya, Blink, EdgeHTML, Gecko, Goanna, iCab, KHTML, Links, Lynx, NetFront, }
\DoxyCodeLine{NetSurf, Presto, Tasman, Trident, w3m, WebKit}
\DoxyCodeLine{}
\DoxyCodeLine{\# 'engine.version' determined dynamically }

\end{DoxyCode}



\begin{DoxyItemize}
\item {\ttfamily get\+OS()}
\begin{DoxyItemize}
\item returns `\{ name\+: '\textquotesingle{}, version\+: \textquotesingle{}\textquotesingle{} \}\`{}
\end{DoxyItemize}
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{\# Possible 'os.name'}
\DoxyCodeLine{AIX, Amiga OS, Android, Arch, Bada, BeOS, BlackBerry, CentOS, Chromium OS, }
\DoxyCodeLine{Contiki, Fedora, Firefox OS, FreeBSD, Debian, DragonFly, Fuchsia, Gentoo, GNU, }
\DoxyCodeLine{Haiku, Hurd, iOS, Joli, KaiOS, Linpus, Linux, Mac OS, Mageia, Mandriva, MeeGo, }
\DoxyCodeLine{Minix, Mint, Morph OS, NetBSD, Nintendo, OpenBSD, OpenVMS, OS/2, Palm, PC-\/BSD, }
\DoxyCodeLine{PCLinuxOS, Plan9, Playstation, QNX, RedHat, RIM Tablet OS, RISC OS, Sailfish, }
\DoxyCodeLine{Series40, Slackware, Solaris, SUSE, Symbian, Tizen, Ubuntu, Unix, VectorLinux, }
\DoxyCodeLine{WebOS, Windows [Phone/Mobile], Zenwalk, ...}
\DoxyCodeLine{}
\DoxyCodeLine{\# 'os.version' determined dynamically }

\end{DoxyCode}



\begin{DoxyItemize}
\item {\ttfamily get\+CPU()}
\begin{DoxyItemize}
\item returns `\{ architecture\+: '\textquotesingle{} \}\`{}
\end{DoxyItemize}
\end{DoxyItemize}


\begin{DoxyCode}{0}
\DoxyCodeLine{\# Possible 'cpu.architecture'}
\DoxyCodeLine{68k, amd64, arm[64], avr, ia[32/64], irix[64], mips[64], pa-\/risc, ppc, sparc[64] }

\end{DoxyCode}



\begin{DoxyItemize}
\item {\ttfamily get\+Result()}
\begin{DoxyItemize}
\item returns `\{ ua\+: '\textquotesingle{}, browser\+: \{\}, cpu\+: \{\}, device\+: \{\}, engine\+: \{\}, os\+: \{\} \}\`{}
\end{DoxyItemize}
\item {\ttfamily get\+UA()}
\begin{DoxyItemize}
\item returns UA string of current instance
\end{DoxyItemize}
\item {\ttfamily set\+UA(uastring)}
\begin{DoxyItemize}
\item set UA string to parse
\item returns current instance
\end{DoxyItemize}
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31254}{}\doxysection{Example}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31254}

\begin{DoxyCode}{0}
\DoxyCodeLine{<!doctype html>}
\DoxyCodeLine{<html>}
\DoxyCodeLine{<head>}
\DoxyCodeLine{<script type="{}text/javascript"{} src="{}ua-\/parser.min.js"{}></script>}
\DoxyCodeLine{<script type="{}text/javascript"{}>}
\DoxyCodeLine{}
\DoxyCodeLine{    var parser = new UAParser();}
\DoxyCodeLine{}
\DoxyCodeLine{    // by default it takes ua string from current browser's window.navigator.userAgent}
\DoxyCodeLine{    console.log(parser.getResult());}
\DoxyCodeLine{    /*}
\DoxyCodeLine{        /// this will print an object structured like this:}
\DoxyCodeLine{        \{}
\DoxyCodeLine{            ua: "{}"{},}
\DoxyCodeLine{            browser: \{}
\DoxyCodeLine{                name: "{}"{},}
\DoxyCodeLine{                version: "{}"{}}
\DoxyCodeLine{            \},}
\DoxyCodeLine{            engine: \{}
\DoxyCodeLine{                name: "{}"{},}
\DoxyCodeLine{                version: "{}"{}}
\DoxyCodeLine{            \},}
\DoxyCodeLine{            os: \{}
\DoxyCodeLine{                name: "{}"{},}
\DoxyCodeLine{                version: "{}"{}}
\DoxyCodeLine{            \},}
\DoxyCodeLine{            device: \{}
\DoxyCodeLine{                model: "{}"{},}
\DoxyCodeLine{                type: "{}"{},}
\DoxyCodeLine{                vendor: "{}"{}}
\DoxyCodeLine{            \},}
\DoxyCodeLine{            cpu: \{}
\DoxyCodeLine{                architecture: "{}"{}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{        \}}
\DoxyCodeLine{    */}
\DoxyCodeLine{}
\DoxyCodeLine{    // let's test a custom user-\/agent string as an example}
\DoxyCodeLine{    var uastring = "{}Mozilla/5.0 (X11; Linux x86\_64) AppleWebKit/535.2 (KHTML, like Gecko) Ubuntu/11.10 Chromium/15.0.874.106 Chrome/15.0.874.106 Safari/535.2"{};}
\DoxyCodeLine{    parser.setUA(uastring);}
\DoxyCodeLine{}
\DoxyCodeLine{    var result = parser.getResult();}
\DoxyCodeLine{    // this will also produce the same result (without instantiation):}
\DoxyCodeLine{    // var result = UAParser(uastring);}
\DoxyCodeLine{}
\DoxyCodeLine{    console.log(result.browser);        // \{name: "{}Chromium"{}, version: "{}15.0.874.106"{}\}}
\DoxyCodeLine{    console.log(result.device);         // \{model: undefined, type: undefined, vendor: undefined\}}
\DoxyCodeLine{    console.log(result.os);             // \{name: "{}Ubuntu"{}, version: "{}11.10"{}\}}
\DoxyCodeLine{    console.log(result.os.version);     // "{}11.10"{}}
\DoxyCodeLine{    console.log(result.engine.name);    // "{}WebKit"{}}
\DoxyCodeLine{    console.log(result.cpu.architecture);   // "{}amd64"{}}
\DoxyCodeLine{}
\DoxyCodeLine{    // do some other tests}
\DoxyCodeLine{    var uastring2 = "{}Mozilla/5.0 (compatible; Konqueror/4.1; OpenBSD) KHTML/4.1.4 (like Gecko)"{};}
\DoxyCodeLine{    console.log(parser.setUA(uastring2).getBrowser().name); // "{}Konqueror"{}}
\DoxyCodeLine{    console.log(parser.getOS());                            // \{name: "{}OpenBSD"{}, version: undefined\}}
\DoxyCodeLine{    console.log(parser.getEngine());                        // \{name: "{}KHTML"{}, version: "{}4.1.4"{}\}}
\DoxyCodeLine{}
\DoxyCodeLine{    var uastring3 = 'Mozilla/5.0 (PlayBook; U; RIM Tablet OS 1.0.0; en-\/US) AppleWebKit/534.11 (KHTML, like Gecko) Version/7.1.0.7 Safari/534.11';}
\DoxyCodeLine{    console.log(parser.setUA(uastring3).getDevice().model); // "{}PlayBook"{}}
\DoxyCodeLine{    console.log(parser.getOS())                             // \{name: "{}RIM Tablet OS"{}, version: "{}1.0.0"{}\}}
\DoxyCodeLine{    console.log(parser.getBrowser().name);                  // "{}Safari"{}}
\DoxyCodeLine{}
\DoxyCodeLine{</script>}
\DoxyCodeLine{</head>}
\DoxyCodeLine{<body>}
\DoxyCodeLine{</body>}
\DoxyCodeLine{</html> }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31255}{}\doxysubsection{Using node.\+js}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31255}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install ua-\/parser-\/js }

\end{DoxyCode}



\begin{DoxyCode}{0}
\DoxyCodeLine{var http = require('http');}
\DoxyCodeLine{var parser = require('ua-\/parser-\/js');}
\DoxyCodeLine{}
\DoxyCodeLine{http.createServer(function (req, res) \{}
\DoxyCodeLine{    // get user-\/agent header}
\DoxyCodeLine{    var ua = parser(req.headers['user-\/agent']);}
\DoxyCodeLine{    // write the result as response}
\DoxyCodeLine{    res.end(JSON.stringify(ua, null, '  '));}
\DoxyCodeLine{\})}
\DoxyCodeLine{.listen(1337, '127.0.0.1');}
\DoxyCodeLine{}
\DoxyCodeLine{console.log('Server running at http://127.0.0.1:1337/'); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31256}{}\doxysubsection{Using requirejs}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31256}

\begin{DoxyCode}{0}
\DoxyCodeLine{requirejs.config(\{}
\DoxyCodeLine{    baseUrl : 'js/lib', // path to your script directory}
\DoxyCodeLine{    paths   : \{}
\DoxyCodeLine{        'ua-\/parser-\/js' : 'ua-\/parser.min'}
\DoxyCodeLine{    \}}
\DoxyCodeLine{\});}
\DoxyCodeLine{}
\DoxyCodeLine{requirejs(['ua-\/parser-\/js'], function(UAParser) \{}
\DoxyCodeLine{    var parser = new UAParser();}
\DoxyCodeLine{    console.log(parser.getResult());}
\DoxyCodeLine{\}); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31257}{}\doxysubsection{Using CDN}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31257}

\begin{DoxyCode}{0}
\DoxyCodeLine{<script src="{}https://cdn.jsdelivr.net/npm/ua-\/parser-\/js@0/dist/ua-\/parser.min.js"{}></script> }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31258}{}\doxysubsection{Using bower}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31258}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ bower install ua-\/parser-\/js }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31259}{}\doxysubsection{Using meteor}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31259}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ meteor add faisalman:ua-\/parser-\/js }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31260}{}\doxysubsection{Using Type\+Script}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31260}

\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm install -\/-\/save @types/ua-\/parser-\/js}
\DoxyCodeLine{\# Download TS type definition from DefinitelyTyped repository:}
\DoxyCodeLine{\# https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ua-\/parser-\/js }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31261}{}\doxysubsection{Using j\+Query/\+Zepto (\$.\+ua)}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31261}
Although written in vanilla js (which means it doesn\textquotesingle{}t depends on j\+Query), this library will automatically detect if j\+Query/\+Zepto is present and create {\ttfamily \$.ua} object based on browser\textquotesingle{}s user-\/agent (although in case you need, {\ttfamily window.\+UAParser} constructor is still present). To get/set user-\/agent you can use\+: {\ttfamily \$.ua.\+get()} / {\ttfamily \$.ua.\+set(uastring)}.


\begin{DoxyCode}{0}
\DoxyCodeLine{// In browser with default user-\/agent: 'Mozilla/5.0 (Linux; U; Android 2.3.4; en-\/us; Sprint APA7373KT Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0':}
\DoxyCodeLine{}
\DoxyCodeLine{// Do some tests}
\DoxyCodeLine{console.log(\$.ua.device);           // \{vendor: "{}HTC"{}, model: "{}Evo Shift 4G"{}, type: "{}mobile"{}\}}
\DoxyCodeLine{console.log(\$.ua.os);               // \{name: "{}Android"{}, version: "{}2.3.4"{}\}}
\DoxyCodeLine{console.log(\$.ua.os.name);          // "{}Android"{}}
\DoxyCodeLine{console.log(\$.ua.get());            // "{}Mozilla/5.0 (Linux; U; Android 2.3.4; en-\/us; Sprint APA7373KT Build/GRJ22) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0"{}}
\DoxyCodeLine{}
\DoxyCodeLine{// reset to custom user-\/agent}
\DoxyCodeLine{\$.ua.set('Mozilla/5.0 (Linux; U; Android 3.0.1; en-\/us; Xoom Build/HWI69) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13');}
\DoxyCodeLine{}
\DoxyCodeLine{// Test again}
\DoxyCodeLine{console.log(\$.ua.browser.name);     // "{}Safari"{}}
\DoxyCodeLine{console.log(\$.ua.engine.name);      // "{}Webkit"{}}
\DoxyCodeLine{console.log(\$.ua.device);           // \{vendor: "{}Motorola"{}, model: "{}Xoom"{}, type: "{}tablet"{}\}}
\DoxyCodeLine{console.log(parseInt(\$.ua.browser.version.split('.')[0], 10));  // 4}
\DoxyCodeLine{}
\DoxyCodeLine{// Add class to <body> tag}
\DoxyCodeLine{// <body class="{}ua-\/browser-\/safari ua-\/devicetype-\/tablet"{}>}
\DoxyCodeLine{\$('body').addClass('ua-\/browser-\/' + \$.ua.browser.name + ' ua-\/devicetype-\/' + \$.ua.device.type); }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31262}{}\doxysubsection{Extending regex patterns}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31262}

\begin{DoxyItemize}
\item {\ttfamily UAParser(\mbox{[}uastring,\mbox{]} extensions)}
\end{DoxyItemize}

Pass your own regexes to extend the limited matching rules.


\begin{DoxyCode}{0}
\DoxyCodeLine{// Example:}
\DoxyCodeLine{var myOwnRegex = [[/(myownbrowser)\(\backslash\)/([\(\backslash\)w\(\backslash\).]+)/i], [UAParser.BROWSER.NAME, UAParser.BROWSER.VERSION]];}
\DoxyCodeLine{var myParser = new UAParser(\{ browser: myOwnRegex \});}
\DoxyCodeLine{var uaString = 'Mozilla/5.0 MyOwnBrowser/1.3';}
\DoxyCodeLine{console.log(myParser.setUA(uaString).getBrowser());   // \{name: "{}MyOwnBrowser"{}, version: "{}1.3"{}\} }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31263}{}\doxysection{Development}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31263}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31264}{}\doxysubsection{Contribute}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31264}

\begin{DoxyItemize}
\item Fork and clone this repository
\item Make some changes as required
\item Write a unit test to showcase your feature
\item Run the test suites to make sure the changes you made didn\textquotesingle{}t break anything {\ttfamily \$ npm run test}
\item Commit and push to your own repository
\item Submit a pull request to this repository under {\ttfamily develop} branch
\item Profit? \$\$\$
\end{DoxyItemize}\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31265}{}\doxysubsection{Build}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31265}
Build a minified \& packed script


\begin{DoxyCode}{0}
\DoxyCodeLine{\$ npm run build }

\end{DoxyCode}
\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31266}{}\doxysection{Donate}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31266}
Do you use \& like UAParser.\+js but you don’t find a way to show some love? If yes, please consider donating to support this project. Otherwise, no worries, regardless of whether there is support or not, I will keep maintaining this project. Still, if you buy me a cup of coffee I would be more than happy though \+:)

\href{https://www.paypal.me/faisalman/}{\texttt{ }}\hypertarget{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31267}{}\doxysection{License}\label{md_sfcode_node_modules_ua_parser_js_readme_autotoc_md31267}
MIT License

Copyright (c) 2012-\/2019 Faisal Salman $<$\href{mailto:f@faisalman.com}{\texttt{ f@faisalman.\+com}}$>$

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \char`\"{}\+Software\char`\"{}), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions\+:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED \char`\"{}\+AS IS\char`\"{}, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 