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
↓ 159 callers
Method
is
* Is anything? Check if the browser is called "anything", * the OS called "anything" or the platform called "anything" * @param {String}
index.d.ts:183
↓ 135 callers
Method
getFirstMatch
* Get first matched item for a string * @param {RegExp} regexp * @param {String} ua * @return {Array|{index: number, input: string}|*|boolean
src/utils.js:10
↓ 87 callers
Method
test
* Test a UA string for a regexp * @param regex * @returns {boolean} true if the regex matches the UA, false otherwise.
index.d.ts:321
↓ 68 callers
Function
test
(parser)
src/parser-os.js:104
↓ 37 callers
Function
r
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 23 callers
Method
satisfies
* Check if parsed browser matches certain conditions * * @param {checkTree} checkTree It's one or two layered object, * which can
index.d.ts:272
↓ 22 callers
Method
hasBrand
* Check if a brand exists in Client Hints brands array * @param {string} brandName The brand name to check for * @return {boolean}
index.d.ts:66
↓ 18 callers
Method
map
* Array::map polyfill * * @param {Array} arr * @param {Function} iterator * @return {Array}
src/utils.js:242
↓ 17 callers
Function
k
(a,m)
docs/scripts/prettify/prettify.js:15
↓ 16 callers
Function
b
(c,e)
docs/scripts/jquery-3.1.1.min.js:2
↓ 16 callers
Function
g
(b,c,d,e)
docs/scripts/jquery-3.1.1.min.js:2
↓ 15 callers
Function
ma
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 13 callers
Method
find
* Array::find polyfill * * @param {Array} arr * @param {Function} predicate * @return {Array}
src/utils.js:261
↓ 13 callers
Method
getBrandVersion
* Get brand version from Client Hints * @param {string} brandName The brand name to get version for * @return {string|undefined}
index.d.ts:73
↓ 12 callers
Method
isBrowser
* Check if the browser name equals the passed string * @param browserName The string to compare with the browser name * @param [includin
index.d.ts:192
↓ 11 callers
Function
e
(a,b)
docs/scripts/jquery-3.1.1.min.js:4
↓ 11 callers
Function
m
(a)
docs/scripts/prettify/prettify.js:2
↓ 11 callers
Method
some
* Check if any of the given values satisfies `.is(anything)` * @param {string[]} anythings * @returns {boolean} true if at least one con
index.d.ts:313
↓ 11 callers
Function
u
(a)
docs/scripts/prettify/prettify.js:9
↓ 10 callers
Function
ia
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 10 callers
Function
ja
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 9 callers
Function
d
(a)
docs/scripts/jquery-3.1.1.min.js:3
↓ 9 callers
Method
getBrowserName
* Get browser's name * @param {Boolean} [toLowerCase] return lower-cased value * @return {String} Browser's name or an empty string
index.d.ts:96
↓ 9 callers
Method
getOSName
* Get OS name * @param {Boolean} [toLowerCase] return lower-cased value * @return {String} name of the OS — macOS, Windows, Linux, etc.
index.d.ts:124
↓ 9 callers
Function
h
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 9 callers
Function
ha
()
docs/scripts/jquery-3.1.1.min.js:2
↓ 9 callers
Function
pa
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 8 callers
Function
S
(a,b,c,d,e,f,g)
docs/scripts/jquery-3.1.1.min.js:3
↓ 8 callers
Function
c
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 7 callers
Function
I
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 7 callers
Function
mb
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 7 callers
Function
nb
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 7 callers
Function
y
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 6 callers
Function
f
(f,g,h,i,k)
docs/scripts/jquery-3.1.1.min.js:2
↓ 6 callers
Function
wa
(a,b,c,d,e)
docs/scripts/jquery-3.1.1.min.js:2
↓ 5 callers
Function
Ia
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:3
↓ 5 callers
Function
Na
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 5 callers
Function
ga
(a,b,d,e)
docs/scripts/jquery-3.1.1.min.js:2
↓ 5 callers
Function
x
(a,m)
docs/scripts/prettify/prettify.js:7
↓ 4 callers
Function
A
(b,c,d,h)
docs/scripts/jquery-3.1.1.min.js:4
↓ 4 callers
Function
Ma
(b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 4 callers
Function
T
(a)
docs/scripts/jquery-3.1.1.min.js:3
↓ 4 callers
Function
db
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 4 callers
Function
e
(a)
docs/scripts/prettify/prettify.js:2
↓ 4 callers
Method
getBrowserVersion
* Get browser's version * @return {String} version of browser
index.d.ts:103
↓ 4 callers
Method
getUA
* Get UserAgent string of current Parser instance * @return {String} User-Agent String of the current <Parser> object * * @public
src/parser.js:146
↓ 4 callers
Function
na
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callers
Method
parse
* Parse full information about the browser * @returns {Parser.Parser}
index.d.ts:223
↓ 4 callers
Function
sa
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callers
Function
ta
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 4 callers
Method
test
* Test a UA string for a regexp * @param {RegExp} regex * @return {Boolean}
src/parser.js:155
↓ 3 callers
Function
B
(a,m,e,h)
docs/scripts/prettify/prettify.js:7
↓ 3 callers
Function
D
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callers
Function
Lb
(a,b)
docs/scripts/jquery-3.1.1.min.js:4
↓ 3 callers
Function
ca
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callers
Method
constructor
(UA: string, skipParsing?: boolean)
index.d.ts:51
↓ 3 callers
Function
contains
(a,m)
docs/scripts/search.js:3
↓ 3 callers
Function
ea
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:3
↓ 3 callers
Method
getBrowser
* Get parsed browser object * @return {Object} * * @public
src/parser.js:191
↓ 3 callers
Method
getHints
* Get Client Hints data * @return {ClientHints|null}
index.d.ts:59
↓ 3 callers
Method
getResult
* Get parsed result * @return {ParsedResult}
index.d.ts:166
↓ 3 callers
Method
getSecondMatch
* Get second matched item for a string * @param regexp * @param {String} ua * @return {Array|{index: number, input: string}|*|boolean|string}
src/utils.js:21
↓ 3 callers
Method
getVersionPrecision
* Get version precisions count * * @example * getVersionPrecision("1.10.3") // 3 * * @param {string} version * @return {number}
src/utils.js:168
↓ 3 callers
Function
h
(a)
docs/scripts/prettify/prettify.js:2
↓ 3 callers
Function
i
()
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callers
Function
ka
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callers
Function
qa
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callers
Function
ua
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callers
Function
w
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callers
Function
xa
(a,b,c,d,e,f)
docs/scripts/jquery-3.1.1.min.js:2
↓ 3 callers
Function
z
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callers
Function
$
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
C
(a,m)
docs/scripts/prettify/prettify.js:15
↓ 2 callers
Function
D
(a,m)
docs/scripts/prettify/prettify.js:12
↓ 2 callers
Function
Da
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
E
(a)
docs/scripts/prettify/prettify.js:15
↓ 2 callers
Function
Ga
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
J
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callers
Function
Ja
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
Jb
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 2 callers
Function
Kb
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:4
↓ 2 callers
Function
O
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callers
Function
Oa
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
Sb
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 2 callers
Function
Ua
(a)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
Wa
(a,b,c,d,e)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
Xa
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
cb
()
docs/scripts/jquery-3.1.1.min.js:3
↓ 2 callers
Function
da
()
docs/scripts/jquery-3.1.1.min.js:2
↓ 2 callers
Method
getEngine
* Get parsed engine * @return {{}}
src/parser.js:348
↓ 2 callers
Method
getEngineName
* Get parsed engine's name * @returns {String} Engine's name or an empty string
index.d.ts:159
↓ 2 callers
Method
getOS
* Get OS * @return {Object} * * @example * this.getOS(); * { * name: 'macOS', * version: '10.11.12' * }
src/parser.js:234
↓ 2 callers
Method
getOSVersion
* Get OS version * @return {String} full version with dots ('10.11.12', '5.6', etc)
index.d.ts:131
↓ 2 callers
Method
getParser
* Creates a {@link Parser} instance * * @param {String} UA UserAgent string * @param {Boolean|Object} [skipParsingOrHints=false] Either a boo
src/bowser.js:48
↓ 2 callers
Function
hideAllButCurrent
()
docs/scripts/collapse.js:1
↓ 2 callers
Method
isBrowser
* Check if the browser name equals the passed string * @param {string} browserName The string to compare with the browser name * @param [includi
src/parser.js:496
↓ 2 callers
Method
isEngine
* Check if the engine name equals the passed string * @param engineName The string to compare with the engine name * @returns {boolean}
index.d.ts:200
↓ 2 callers
Method
isOS
* Check if the OS name equals the passed string * @param {string} osName The string to compare with the OS name * @returns {boolean}
src/parser.js:548
↓ 2 callers
Method
isPlatform
* Check if the platform type equals the passed string * @param {string} platformType The string to compare with the platform type * @returns {bo
src/parser.js:557
↓ 2 callers
Function
la
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
next →
1–100 of 189, ranked by callers