Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
polkadot
/
util
/
bn
/
bn.ts
Package publishing for deno.land/x/polkadot
polkadot-js/build-deno.land
Very 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
Menu
index.ts
(default module)
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
f
bnFromHex
f
bnSqrt
f
bnToBn
f
bnToHex
f
bnToU8a
bn.ts
consts.ts
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
fromHex.ts
f
bnFromHex
min.ts
v
bnMax
v
bnMin
sqrt.ts
f
bnSqrt
toBn.ts
f
bnToBn
toHex.ts
f
bnToHex
toU8a.ts
f
bnToU8a
This module does not provide any exports.