UNPKG
godprotocol
Version:
latest (2.2.57)
2.2.57
2.2.56
2.2.55
2.2.51
2.2.50
2.2.49
2.2.48
2.2.47
2.2.45
2.2.43
2.2.41
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
1.2.54
1.2.53
1.2.52
1.2.51
1.2.50
1.2.37
1.2.36
1.2.35
1.2.34
1.2.33
1.2.32
1.2.31
1.2.30
1.2.29
1.2.28
1.2.27
1.2.26
1.2.25
1.2.24
1.2.23
1.2.22
1.2.21
1.2.20
1.2.19
1.2.18
1.2.17
1.2.16
1.2.15
1.2.14
1.2.13
1.2.12
1.2.11
1.2.10
1.2.9
1.2.8
1.2.7
1.2.6
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.32
1.1.31
1.1.3
1.1.2
1.1.1
1.1.0
1.0.7991
1.0.842
1.0.841
1.0.840
1.0.839
1.0.838
1.0.837
1.0.836
1.0.835
1.0.834
1.0.833
1.0.831
1.0.799
1.0.798
1.0.797
1.0.796
1.0.795
1.0.794
1.0.793
1.0.792
1.0.791
1.0.789
1.0.788
1.0.785
1.0.783
1.0.781
1.0.771
1.0.762
1.0.761
1.0.754
1.0.753
1.0.752
1.0.751
1.0.83
1.0.82
1.0.81
1.0.79
1.0.78
1.0.77
1.0.76
1.0.75
1.0.74
1.0.73
1.0.72
1.0.71
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A distributed computing environment
github.com/immanuel-savvy/GodProtocol
immanuel-savvy/GodProtocol
godprotocol
/
Objects
/
Utils.js
16 lines
(11 loc)
•
237 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class
Utils
{
constructor
(
){} resolve_addr =
(
addr
)=>
{
if
(!addr)
return
addr;
if
(!addr.
startsWith
(
this
.
physical_address
)){ addr =
`
${
this
.physical_address}
/
${addr}
`
}
return
addr; } }
export
default
Utils