MCPcopy Create free account

hub / github.com/bowser-js/bowser / functions

Functions205 in github.com/bowser-js/bowser

↓ 1 callersFunctioncheck
(name, fn)
test/package/assertions.cjs:20
↓ 1 callersMethodcompareVersion
(version)
src/parser.js:524
↓ 1 callersMethodconstructor
(UA: string, skipParsing?: boolean)
index.d.ts:51
↓ 1 callersFunctioncontains
(a,m)
docs/scripts/search.js:3
↓ 1 callersFunctioncreateEs5Context
()
test/acceptance/test-es5-runtime.js:41
↓ 1 callersFunctionda
()
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctiondb
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctioneb
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersFunctionextractNpmTarball
* Extracts an npm tarball using only Node built-ins, so the test needs no * external `tar`/`npm` process and runs identically on every OS and every
test/package/smoke.cjs:54
↓ 1 callersFunctionf
(f,g,h,i,k)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctiongb
(a,b)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersMethodgetAndroidVersionName
* 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:154
↓ 1 callersMethodgetBrowser
* Get parsed browser object * @return {BrowserDetails} Browser's details
index.d.ts:88
↓ 1 callersMethodgetBrowserName
* Get browser's name * @return {String} Browser's name or an empty string * * @public
src/parser.js:210
↓ 1 callersMethodgetBrowserTypeByAlias
* Get browser name for a short version/alias * * @example * getBrowserTypeByAlias('edge') // Microsoft Edge * * @param {string} brow
src/utils.js:340
↓ 1 callersMethodgetBrowserVersion
* Get browser's version * @return {String} version of browser
index.d.ts:103
↓ 1 callersMethodgetBrowserVersion
* Get browser's version * @return {String} version of browser * * @public
src/parser.js:223
↓ 1 callersMethodgetEngine
* Get parsed engine * @returns {EngineDetails}
index.d.ts:152
↓ 1 callersMethodgetEngine
* Get parsed engine * @return {{}}
src/parser.js:352
↓ 1 callersMethodgetEngineName
* Get parsed engine's name * @returns {String} Engine's name or an empty string
index.d.ts:159
↓ 1 callersMethodgetEngineName
* Get engines's name * @return {String} Engines's name or an empty string * * @public
src/parser.js:366
↓ 1 callersMethodgetHints
* Get Client Hints data * @return {ClientHints|null}
index.d.ts:59
↓ 1 callersMethodgetMacOSVersionName
* Get macOS version name * 10.5 - Leopard * 10.6 - Snow Leopard * 10.7 - Lion * 10.8 - Mountain Lion * 10.9 - Mavericks
src/utils.js:97
↓ 1 callersMethodgetOS
* Get OS * @return {OSDetails} - OS Details * * @example * this.getOS(); // { * // name: 'macOS', * // v
index.d.ts:116
↓ 1 callersMethodgetOSName
* Get OS name * @param {Boolean} [toLowerCase] return lower-cased value * @return {String} name of the OS — macOS, Windows, Linux, etc.
src/parser.js:277
↓ 1 callersMethodgetPlatform
* Get parsed platform * @return {{}}
src/parser.js:299
↓ 1 callersMethodgetPlatformType
* Get platform name * @param {Boolean} [toLowerCase=false] * @return {*}
src/parser.js:312
↓ 1 callersMethodgetVersionPrecision
* Get version precisions count * * @example * getVersionPrecision("1.10.3") // 3 * * @param {string} version * @return {number}
src/utils.js:184
↓ 1 callersMethodgetWindowsVersionName
(version)
src/utils.js:56
↓ 1 callersFunctionhash
(s)
test/types/check.mjs:131
↓ 1 callersFunctionhb
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
↓ 1 callersMethodis
* Is anything? Check if the browser is called "anything", * the OS called "anything" or the platform called "anything" * @param {String} anythin
src/parser.js:594
↓ 1 callersMethodisBrowser
* 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
↓ 1 callersMethodisEngine
* 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
↓ 1 callersFunctionj
()
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionja
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionka
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionla
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionmb
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionnb
(a)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctionnodeAtLeast
Node version gate — ESM was unflagged in 12.17.0.
test/package/assertions.cjs:27
↓ 1 callersFunctionoa
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersMethodparse
* Parse full information about the browser * @returns {Parser}
src/parser.js:403
↓ 1 callersFunctionpresent
(ref)
test/acceptance/test-es5-runtime.js:174
↓ 1 callersFunctionscrollToNavItem
()
docs/scripts/nav.js:1
↓ 1 callersFunctionterser
()
tsdown.config.ts:126
↓ 1 callersFunctiontimeParse
(ua)
test/unit/redos.js:11
↓ 1 callersFunctiontypeCheck
Runs tsc over a single file in a project configured for `mode`.
test/types/check.mjs:103
↓ 1 callersFunctionu
(a)
docs/scripts/prettify/prettify.js:9
↓ 1 callersFunctionua
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionumd
(name: string, entry: string, useBuiltIns: false | 'entry')
tsdown.config.ts:148
↓ 1 callersFunctionva
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionw
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionxb
(a,b,c,d)
docs/scripts/jquery-3.1.1.min.js:4
↓ 1 callersFunctiony
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctiony
(a)
docs/scripts/prettify/prettify.js:4
↓ 1 callersFunctionya
(a)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionz
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
↓ 1 callersFunctionza
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
FunctionB
(a,b)
docs/scripts/jquery-3.1.1.min.js:2
MethodBROWSER_MAP
()
src/bowser.js:76
MethodENGINE_MAP
()
src/bowser.js:80
FunctionEa
(a)
docs/scripts/jquery-3.1.1.min.js:3
FunctionFa
(a)
docs/scripts/jquery-3.1.1.min.js:3
FunctionM
(a)
docs/scripts/jquery-3.1.1.min.js:2
FunctionN
(a)
docs/scripts/jquery-3.1.1.min.js:2
MethodOS_MAP
()
src/bowser.js:84
MethodPLATFORMS_MAP
()
src/bowser.js:88
FunctionR
()
docs/scripts/jquery-3.1.1.min.js:2
FunctionU
()
docs/scripts/jquery-3.1.1.min.js:3
FunctionYa
(a,b,c,d,e)
docs/scripts/jquery-3.1.1.min.js:3
Functionaa
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:2
Functionbb
()
docs/scripts/jquery-3.1.1.min.js:3
MethodcompareVersions
(versionA, versionB, isLoose = false)
src/utils.js:205
Methodconstructor
* Create instance of Parser * * @param {String} UA User-Agent string * @param {Boolean|ClientHints} [skipParsingOrHints=false] Either a boole
src/parser.js:34
Functiondescribe
(ua)
src/parser-os.js:8
Functiondescribe
()
src/parser-platforms.js:13
Functiondescribe
(ua)
src/parser-browsers.js:34
Functiondescribe
(ua)
src/parser-engines.js:13
Functionfb
(a,b,c)
docs/scripts/jquery-3.1.1.min.js:3
MethodgetBrandVersion
* Get brand version from Client Hints * @param {string} brandName The brand name to get version for * @return {string|undefined} * * @publ
src/parser.js:130
MethodgetBrowserAlias
* Get short version/alias for a browser name * * @example * getBrowserAlias('Microsoft Edge') // edge * * @param {string} browserNam
src/utils.js:327
MethodgetHints
* Get Client Hints data * @return {ClientHints|null} * * @public * @example * const parser = Bowser.getParser(UA, clientHints); * co
src/parser.js:93
MethodgetOSVersion
* Get OS version * @return {String} full version with dots ('10.11.12', '5.6', etc)
src/parser.js:291
MethodgetPlatform
* Get parsed platform * @returns {PlatformDetails}
index.d.ts:138
MethodgetPlatformType
* Get platform name * @param {boolean} toLowerCase
index.d.ts:145
MethodgetResult
* Get parsed result * @return {ParsedResult}
src/parser.js:416
MethodhasBrand
* 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:109
MethodisEngine
* 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:583
MethodisOS
* 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
MethodisPlatform
* 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
MethodmatchAndReturnConst
* 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
Methodparse
* Creates a {@link Parser} instance and runs {@link Parser.getResult} immediately * * @param {String} UA UserAgent string * @param {Object} [
src/bowser.js:72
MethodparseBrowser
* Get parsed browser object * @returns {BrowserDetails}
index.d.ts:230
MethodparseEngine
* Get parsed engine * @returns {EngineDetails}
index.d.ts:237
MethodparseOS
* Parse OS and save it to this.parsedResult.os * @returns {OSDetails}
index.d.ts:244
MethodparsePlatform
* Get parsed platform * @returns {PlatformDetails}
index.d.ts:251
Functionra
()
docs/scripts/jquery-3.1.1.min.js:2
FunctionrenderChunk
(code: string, chunk: { fileName: string })
tsdown.config.ts:93
Methodsatisfies
* 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:438
← previousnext →101–200 of 205, ranked by callers