Modules
Standard Library
Third Party Modules
NPM
Docs
Manual
API
Deploy
Community
Discord
GitHub
Twitter
YouTube
Mastodon
Search...
⌘ K
!--frsh-globalsearch:0-->
Module
x
/
polkadot
/
util
/
detectPackage.ts
Package publishing for deno.land/x/polkadot
polkadot-js/build-deno.land
Popular
Version
0.2.45
0.2.44
0.2.43
0.2.42
0.2.41
0.2.40
0.2.39
0.2.38
0.2.37
0.2.36
0.2.35
0.2.34
0.2.33
0.2.32
0.2.31
0.2.30
0.2.29
0.2.28
0.2.27
0.2.25
0.2.24
0.2.23
0.2.22
0.2.21
0.2.20
0.2.19
0.2.18
0.2.17
0.2.16
0.2.15
0.2.14
0.2.13
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.4-9
0.0.4-8
0.0.4-7
0.0.4-6
0.0.4-5
0.0.4-4
0.0.4-3
0.0.4-2
0.0.4-1
0.0.3
0.0.2
0.0.1
0.0.0-9
0.0.0-8
0.0.0-7
0.0.0-6
v0.0.0-5
v0.0.0-4
v0.0.0-3
v0.0.0-2
v0.0.0-1
Go to Latest
!--frsh-versionselect:1-->
Menu
array
bi
bn
buffer
compact
float
format
hex
is
number
object
string
test
u8a
mod.ts
(default module)
v
_0n
v
_1000n
v
_100n
v
_10n
v
_1Bn
v
_1Mn
v
_1n
v
_1Qn
v
_2n
v
_2pow53n
v
_3n
v
_4n
v
_5n
v
_6n
v
_7n
v
_8n
v
_9n
v
_sqrt2pow53n
v
BN_BILLION
v
BN_EIGHT
v
BN_FIVE
v
BN_FOUR
v
BN_HUNDRED
v
BN_MAX_INTEGER
v
BN_MILLION
v
BN_NINE
v
BN_ONE
v
BN_QUINTILL
v
BN_SEVEN
v
BN_SIX
v
BN_SQRT_MAX_INTEGER
v
BN_TEN
v
BN_THOUSAND
v
BN_THREE
v
BN_TWO
v
BN_ZERO
v
bnMax
v
bnMin
v
formatBalance
v
hasBigInt
v
hasBuffer
v
hasCjs
v
hasDirname
v
hasEsm
v
hasProcess
v
hasWasm
v
isClass
v
isCompact
v
isObservable
v
isPromise
v
isToBigInt
v
isToBn
v
nMax
v
nMin
v
packageInfo
v
stringCamelCase
v
stringLowerFirst
v
stringPascalCase
v
stringUpperFirst
v
U8A_WRAP_ETHEREUM
v
U8A_WRAP_POSTFIX
v
U8A_WRAP_PREFIX
f
arrayChunk
f
arrayFilter
f
arrayFlatten
f
arrayRange
f
arrayShuffle
f
arrayUnzip
f
arrayZip
f
assert
f
assertReturn
f
assertUnreachable
f
bnFromHex
f
bnSqrt
f
bnToBn
f
bnToHex
f
bnToU8a
f
bufferToU8a
f
calcSi
f
compactAddLength
f
compactFromU8a
f
compactFromU8aLim
f
compactStripLength
f
compactToU8a
f
detectPackage
f
extractTime
f
findSi
f
floatToU8a
f
formatDate
f
formatDecimal
f
formatElapsed
f
formatNumber
f
hexAddPrefix
f
hexFixLength
f
hexHasPrefix
f
hexStripPrefix
f
hexToBigInt
f
hexToBn
f
hexToNumber
f
hexToString
f
hexToU8a
f
isArray
f
isAscii
f
isBigInt
f
isBn
f
isBoolean
f
isBuffer
f
isChildClass
f
isCodec
f
isError
f
isFunction
f
isHex
f
isInstanceOf
f
isIp
f
isJsonObject
f
isNull
f
isNumber
f
isObject
f
isString
f
isTestChain
f
isU8a
f
isUndefined
f
isUtf8
f
isWasm
f
lazyMethod
f
lazyMethods
f
logger
f
loggerFormat
f
memoize
f
nextTick
f
nSqrt
f
nToBigInt
f
nToHex
f
nToU8a
f
numberToHex
f
numberToU8a
f
objectClear
f
objectCopy
f
objectEntries
f
objectKeys
f
objectProperties
f
objectProperty
f
objectSpread
f
objectValues
f
promisify
f
stringify
f
stringShorten
f
stringToHex
f
stringToU8a
f
u8aCmp
f
u8aConcat
f
u8aConcatStrict
f
u8aEmpty
f
u8aEq
f
u8aFixLength
f
u8aIsWrapped
f
u8aSorted
f
u8aToBigInt
f
u8aToBn
f
u8aToBuffer
f
u8aToFloat
f
u8aToHex
f
u8aToNumber
f
u8aToString
f
u8aToU8a
f
u8aUnwrapBytes
f
u8aWrapBytes
assert.ts
f
assert
f
assertReturn
f
assertUnreachable
bundle.ts
v
_0n
v
_1000n
v
_100n
v
_10n
v
_1Bn
v
_1Mn
v
_1n
v
_1Qn
v
_2n
v
_2pow53n
v
_3n
v
_4n
v
_5n
v
_6n
v
_7n
v
_8n
v
_9n
v
_sqrt2pow53n
v
BN_BILLION
v
BN_EIGHT
v
BN_FIVE
v
BN_FOUR
v
BN_HUNDRED
v
BN_MAX_INTEGER
v
BN_MILLION
v
BN_NINE
v
BN_ONE
v
BN_QUINTILL
v
BN_SEVEN
v
BN_SIX
v
BN_SQRT_MAX_INTEGER
v
BN_TEN
v
BN_THOUSAND
v
BN_THREE
v
BN_TWO
v
BN_ZERO
v
bnMax
v
bnMin
v
formatBalance
v
hasBigInt
v
hasBuffer
v
hasCjs
v
hasDirname
v
hasEsm
v
hasProcess
v
hasWasm
v
isClass
v
isCompact
v
isObservable
v
isPromise
v
isToBigInt
v
isToBn
v
nMax
v
nMin
v
packageInfo
v
stringCamelCase
v
stringLowerFirst
v
stringPascalCase
v
stringUpperFirst
v
U8A_WRAP_ETHEREUM
v
U8A_WRAP_POSTFIX
v
U8A_WRAP_PREFIX
f
arrayChunk
f
arrayFilter
f
arrayFlatten
f
arrayRange
f
arrayShuffle
f
arrayUnzip
f
arrayZip
f
assert
f
assertReturn
f
assertUnreachable
f
bnFromHex
f
bnSqrt
f
bnToBn
f
bnToHex
f
bnToU8a
f
bufferToU8a
f
calcSi
f
compactAddLength
f
compactFromU8a
f
compactFromU8aLim
f
compactStripLength
f
compactToU8a
f
detectPackage
f
extractTime
f
findSi
f
floatToU8a
f
formatDate
f
formatDecimal
f
formatElapsed
f
formatNumber
f
hexAddPrefix
f
hexFixLength
f
hexHasPrefix
f
hexStripPrefix
f
hexToBigInt
f
hexToBn
f
hexToNumber
f
hexToString
f
hexToU8a
f
isArray
f
isAscii
f
isBigInt
f
isBn
f
isBoolean
f
isBuffer
f
isChildClass
f
isCodec
f
isError
f
isFunction
f
isHex
f
isInstanceOf
f
isIp
f
isJsonObject
f
isNull
f
isNumber
f
isObject
f
isString
f
isTestChain
f
isU8a
f
isUndefined
f
isUtf8
f
isWasm
f
lazyMethod
f
lazyMethods
f
logger
f
loggerFormat
f
memoize
f
nextTick
f
nSqrt
f
nToBigInt
f
nToHex
f
nToU8a
f
numberToHex
f
numberToU8a
f
objectClear
f
objectCopy
f
objectEntries
f
objectKeys
f
objectProperties
f
objectProperty
f
objectSpread
f
objectValues
f
promisify
f
stringify
f
stringShorten
f
stringToHex
f
stringToU8a
f
u8aCmp
f
u8aConcat
f
u8aConcatStrict
f
u8aEmpty
f
u8aEq
f
u8aFixLength
f
u8aIsWrapped
f
u8aSorted
f
u8aToBigInt
f
u8aToBn
f
u8aToBuffer
f
u8aToFloat
f
u8aToHex
f
u8aToNumber
f
u8aToString
f
u8aToU8a
f
u8aUnwrapBytes
f
u8aWrapBytes
detectOther.ts
v
default
detectPackage.ts
extractTime.ts
f
extractTime
has.ts
v
hasBigInt
v
hasBuffer
v
hasCjs
v
hasDirname
v
hasEsm
v
hasProcess
v
hasWasm
index.ts
v
_0n
v
_1000n
v
_100n
v
_10n
v
_1Bn
v
_1Mn
v
_1n
v
_1Qn
v
_2n
v
_2pow53n
v
_3n
v
_4n
v
_5n
v
_6n
v
_7n
v
_8n
v
_9n
v
_sqrt2pow53n
v
BN_BILLION
v
BN_EIGHT
v
BN_FIVE
v
BN_FOUR
v
BN_HUNDRED
v
BN_MAX_INTEGER
v
BN_MILLION
v
BN_NINE
v
BN_ONE
v
BN_QUINTILL
v
BN_SEVEN
v
BN_SIX
v
BN_SQRT_MAX_INTEGER
v
BN_TEN
v
BN_THOUSAND
v
BN_THREE
v
BN_TWO
v
BN_ZERO
v
bnMax
v
bnMin
v
formatBalance
v
hasBigInt
v
hasBuffer
v
hasCjs
v
hasDirname
v
hasEsm
v
hasProcess
v
hasWasm
v
isClass
v
isCompact
v
isObservable
v
isPromise
v
isToBigInt
v
isToBn
v
nMax
v
nMin
v
packageInfo
v
stringCamelCase
v
stringLowerFirst
v
stringPascalCase
v
stringUpperFirst
v
U8A_WRAP_ETHEREUM
v
U8A_WRAP_POSTFIX
v
U8A_WRAP_PREFIX
f
arrayChunk
f
arrayFilter
f
arrayFlatten
f
arrayRange
f
arrayShuffle
f
arrayUnzip
f
arrayZip
f
assert
f
assertReturn
f
assertUnreachable
f
bnFromHex
f
bnSqrt
f
bnToBn
f
bnToHex
f
bnToU8a
f
bufferToU8a
f
calcSi
f
compactAddLength
f
compactFromU8a
f
compactFromU8aLim
f
compactStripLength
f
compactToU8a
f
detectPackage
f
extractTime
f
findSi
f
floatToU8a
f
formatDate
f
formatDecimal
f
formatElapsed
f
formatNumber
f
hexAddPrefix
f
hexFixLength
f
hexHasPrefix
f
hexStripPrefix
f
hexToBigInt
f
hexToBn
f
hexToNumber
f
hexToString
f
hexToU8a
f
isArray
f
isAscii
f
isBigInt
f
isBn
f
isBoolean
f
isBuffer
f
isChildClass
f
isCodec
f
isError
f
isFunction
f
isHex
f
isInstanceOf
f
isIp
f
isJsonObject
f
isNull
f
isNumber
f
isObject
f
isString
f
isTestChain
f
isU8a
f
isUndefined
f
isUtf8
f
isWasm
f
lazyMethod
f
lazyMethods
f
logger
f
loggerFormat
f
memoize
f
nextTick
f
nSqrt
f
nToBigInt
f
nToHex
f
nToU8a
f
numberToHex
f
numberToU8a
f
objectClear
f
objectCopy
f
objectEntries
f
objectKeys
f
objectProperties
f
objectProperty
f
objectSpread
f
objectValues
f
promisify
f
stringify
f
stringShorten
f
stringToHex
f
stringToU8a
f
u8aCmp
f
u8aConcat
f
u8aConcatStrict
f
u8aEmpty
f
u8aEq
f
u8aFixLength
f
u8aIsWrapped
f
u8aSorted
f
u8aToBigInt
f
u8aToBn
f
u8aToBuffer
f
u8aToFloat
f
u8aToHex
f
u8aToNumber
f
u8aToString
f
u8aToU8a
f
u8aUnwrapBytes
f
u8aWrapBytes
lazy.ts
f
lazyMethod
f
lazyMethods
logger.ts
f
logger
f
loggerFormat
memoize.ts
f
memoize
nextTick.ts
f
nextTick
packageInfo.ts
v
packageInfo
promisify.ts
f
promisify
stringify.ts
f
stringify
types.ts
I
Constructor
I
IBigIntConstructor
I
Logger
I
NumberOptions
I
Observable
I
SiDef
I
Time
I
ToBigInt
I
ToBn
I
ToBnOptions
T
AnyString
T
BnList
T
HexDigit
T
HexString
T
Logger$Data
T
Memoized
T
U8aLike
versionDetect.ts
f
detectPackage
This module does not provide any exports.
Why Deno?
Develop Locally
Deploy Globally
Compare to Node.js
Benchmarks
Products
Deno CLI
Deno Deploy
Deploy Subhosting
Fresh
SaaSKit
Sources
CLI Manual
CLI Runtime API
Deploy Docs
Standard Library
Third-Party Modules
Community
Artworks
Translations
Showcase
Company
Careers
Blog
Pricing
News
Merch
Privacy Policy
Copyright © 2023 Deno Land Inc.
All rights reserved.