Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bowser-js/bowser
/ functions
Functions
189 in github.com/bowser-js/bowser
⨍
Functions
189
◇
Types & classes
13
↓ 2 callers
Function
oa
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callers
Function
p
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callers
Method
parseBrowser
* Get parsed browser object * @return {Object}
src/parser.js:163
↓ 2 callers
Method
parseEngine
* Get parsed platform * @return {{}}
src/parser.js:373
↓ 2 callers
Method
parseOS
* Parse OS and save it to this.parsedResult.os * @return {*|{}}
src/parser.js:246
↓ 2 callers
Method
parsePlatform
* Get parsed platform * @return {{}}
src/parser.js:322
↓ 1 callers
Function
Ha
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callers
Function
L
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callers
Function
L
(a)
docs/scripts/prettify/prettify.js:2
↓ 1 callers
Function
M
(a)
docs/scripts/prettify/prettify.js:6
↓ 1 callers
Function
Mb
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callers
Function
Nb
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callers
Function
Va
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callers
Function
Z
(a)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callers
Method
assign
* Object::assign polyfill * * @param {Object} obj * @param {Object} ...objs * @return {Object}
src/utils.js:283
↓ 1 callers
Function
b
(a,d)
docs/scripts/prettify/prettify.js:13
↓ 1 callers
Method
compareVersion
(version)
src/parser.js:507
↓ 1 callers
Method
compareVersions
(versionA, versionB, isLoose = false)
src/utils.js:189
↓ 1 callers
Function
eb
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callers
Function
gb
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callers
Method
getAndroidVersionName
* Get Android version name * 1.5 - Cupcake * 1.6 - Donut * 2.0 - Eclair * 2.1 - Eclair * 2.2 - Froyo * 2.x - Ginge
src/utils.js:138
↓ 1 callers
Method
getBrowser
* Get parsed browser object * @return {BrowserDetails} Browser's details
index.d.ts:88
↓ 1 callers
Method
getBrowserName
* Get browser's name * @return {String} Browser's name or an empty string * * @public
src/parser.js:205
↓ 1 callers
Method
getBrowserTypeByAlias
* Get browser name for a short version/alias * * @example * getBrowserTypeByAlias('edge') // Microsoft Edge * * @param {string} brow
src/utils.js:324
↓ 1 callers
Method
getBrowserVersion
* Get browser's version * @return {String} version of browser * * @public
src/parser.js:219
↓ 1 callers
Method
getEngine
* Get parsed engine * @returns {EngineDetails}
index.d.ts:152
↓ 1 callers
Method
getEngineName
* Get engines's name * @return {String} Engines's name or an empty string * * @public
src/parser.js:362
↓ 1 callers
Method
getMacOSVersionName
* Get macOS version name * 10.5 - Leopard * 10.6 - Snow Leopard * 10.7 - Lion * 10.8 - Mountain Lion * 10.9 - Mavericks
src/utils.js:81
↓ 1 callers
Method
getOS
* Get OS * @return {OSDetails} - OS Details * * @example * this.getOS(); // { * // name: 'macOS', * // v
index.d.ts:116
↓ 1 callers
Method
getOSName
* Get OS name * @param {Boolean} [toLowerCase] return lower-cased value * @return {String} name of the OS — macOS, Windows, Linux, etc.
src/parser.js:273
↓ 1 callers
Method
getPlatform
* Get parsed platform * @return {{}}
src/parser.js:295
↓ 1 callers
Method
getPlatformType
* Get platform name * @param {Boolean} [toLowerCase=false] * @return {*}
src/parser.js:308
↓ 1 callers
Method
getUA
* Get UserAgent string of current Parser instance * @return {String} User-Agent String of the current <Parser> object
index.d.ts:173
↓ 1 callers
Method
getWindowsVersionName
(version)
src/utils.js:40
↓ 1 callers
Function
hb
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callers
Method
is
* Is anything? Check if the browser is called "anything", * the OS called "anything" or the platform called "anything" * @param {String} anythin
src/parser.js:577
↓ 1 callers
Function
j
()
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callers
Method
parse
* Parse full information about the browser * @returns {Parser}
src/parser.js:399
↓ 1 callers
Function
scrollToNavItem
()
docs/scripts/nav.js:1
↓ 1 callers
Function
va
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callers
Function
xb
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callers
Function
y
(a)
docs/scripts/prettify/prettify.js:4
↓ 1 callers
Function
ya
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callers
Function
za
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
Function
B
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
Method
BROWSER_MAP
()
src/bowser.js:76
Method
ENGINE_MAP
()
src/bowser.js:80
Function
Ea
(a)
docs/scripts/jquery-3.1.1.min.js:3
Function
Fa
(a)
docs/scripts/jquery-3.1.1.min.js:3
Function
M
(a)
docs/scripts/jquery-3.1.1.min.js:2
Function
N
(a)
docs/scripts/jquery-3.1.1.min.js:2
Method
OS_MAP
()
src/bowser.js:84
Method
PLATFORMS_MAP
()
src/bowser.js:88
Function
R
()
docs/scripts/jquery-3.1.1.min.js:2
Function
U
()
docs/scripts/jquery-3.1.1.min.js:3
Function
Ya
(a,b,c,d,e)
docs/scripts/jquery-3.1.1.min.js:3
Function
aa
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
Function
bb
()
docs/scripts/jquery-3.1.1.min.js:3
Method
compareVersion
* Check if the version is equals the browser version * @param version The string to compare with the browser version * @returns {boolean
index.d.ts:81
Method
constructor
* Create instance of Parser * * @param {String} UA User-Agent string * @param {Boolean|ClientHints} [skipParsingOrHints=false] Either a boole
src/parser.js:34
Function
describe
(ua)
src/parser-os.js:8
Function
describe
()
src/parser-platforms.js:13
Function
describe
(ua)
src/parser-browsers.js:34
Function
describe
(ua)
src/parser-engines.js:13
Function
fb
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
Method
getBrandVersion
* Get brand version from Client Hints * @param {string} brandName The brand name to get version for * @return {string|undefined} * * @publ
src/parser.js:129
Method
getBrowserAlias
* Get short version/alias for a browser name * * @example * getBrowserAlias('Microsoft Edge') // edge * * @param {string} browserNam
src/utils.js:311
Method
getHints
* Get Client Hints data * @return {ClientHints|null} * * @public * @example * const parser = Bowser.getParser(UA, clientHints); * co
src/parser.js:92
Method
getOSVersion
* Get OS version * @return {String} full version with dots ('10.11.12', '5.6', etc)
src/parser.js:287
Method
getPlatform
* Get parsed platform * @returns {PlatformDetails}
index.d.ts:138
Method
getPlatformType
* Get platform name * @param {boolean} toLowerCase
index.d.ts:145
Method
getResult
* Get parsed result * @return {ParsedResult}
src/parser.js:412
Method
hasBrand
* Check if a brand exists in Client Hints brands array * @param {string} brandName The brand name to check for * @return {boolean} * * @pu
src/parser.js:108
Method
isEngine
* Check if the engine name equals the passed string * @param {string} engineName The string to compare with the engine name * @returns {boolean}
src/parser.js:566
Method
isOS
* Check if the OS name equals the passed string * @param OSName The string to compare with the OS name * @returns {boolean}
index.d.ts:208
Method
isPlatform
* Check if the platform name equals the passed string * @param platformName The string to compare with the platform name * @returns {boo
index.d.ts:216
Method
matchAndReturnConst
* Match a regexp and return a constant or undefined * @param {RegExp} regexp * @param {String} ua * @param {*} _const Any const that will be
src/utils.js:33
Method
parse
* Creates a {@link Parser} instance and runs {@link Parser.getResult} immediately * * @param {String} UA UserAgent string * @param {Object} [
src/bowser.js:72
Method
parseBrowser
* Get parsed browser object * @returns {BrowserDetails}
index.d.ts:230
Method
parseEngine
* Get parsed engine * @returns {EngineDetails}
index.d.ts:237
Method
parseOS
* Parse OS and save it to this.parsedResult.os * @returns {OSDetails}
index.d.ts:244
Method
parsePlatform
* Get parsed platform * @returns {PlatformDetails}
index.d.ts:251
Function
ra
()
docs/scripts/jquery-3.1.1.min.js:2
Method
satisfies
* Check if parsed browser matches certain conditions * * @param {Object} checkTree It's one or two layered object, * which can include a plat
src/parser.js:434
Method
some
* Check if any of the given values satisfies this.is(anything) * @param {String[]} anythings * @returns {Boolean}
src/parser.js:587
Function
test
(parser)
src/parser-platforms.js:371
Function
test
(parser)
src/parser-browsers.js:1009
Function
test
(parser)
src/parser-engines.js:10
Function
v
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
← previous
101–189 of 189, ranked by callers