@webpod/ip - v0.5.2
Preparing search index...
Address
Class Address
Index
Constructors
constructor
Properties
big
family
raw
Accessors
range
Methods
to
Array
to
Buffer
to
Long
to
String
cidr
cidr
Subnet
from
from
Prefix
Len
is
Equal
is
Private
is
Public
is
Special
mask
normalize
Family
normalize
To
Long
not
or
subnet
Constructors
constructor
new
Address
()
:
Address
Returns
Address
Properties
big
big
:
bigint
family
family
:
Family
raw
raw
:
Raw
Accessors
range
get
range
()
:
undefined
|
Special
Returns
undefined
|
Special
Methods
to
Array
toArray
()
:
number
[]
Returns
number
[]
to
Buffer
toBuffer
(
buff
?:
BufferLike
,
offset
?:
number
)
:
BufferLike
Parameters
Optional
buff
:
BufferLike
offset
:
number
= 0
Returns
BufferLike
to
Long
toLong
()
:
number
Returns
number
to
String
toString
(
family
?:
FamilyAlias
,
mapped
?:
boolean
)
:
string
Parameters
family
:
FamilyAlias
= ...
Optional
mapped
:
boolean
Returns
string
Static
cidr
cidr
(
cidrString
:
string
)
:
string
Parameters
cidrString
:
string
Returns
string
Static
cidr
Subnet
cidrSubnet
(
cidrString
:
string
)
:
Subnet
Parameters
cidrString
:
string
Returns
Subnet
Static
from
from
(
raw
:
Raw
)
:
Address
Parameters
raw
:
Raw
Returns
Address
Static
from
Prefix
Len
fromPrefixLen
(
prefixlen
:
string
|
number
,
family
?:
FamilyAlias
)
:
Address
Parameters
prefixlen
:
string
|
number
Optional
family
:
FamilyAlias
Returns
Address
Static
is
Equal
isEqual
(
addrA
:
Raw
,
addrB
:
Raw
)
:
boolean
Parameters
addrA
:
Raw
addrB
:
Raw
Returns
boolean
Static
is
Private
isPrivate
(
addr
:
Raw
)
:
boolean
Parameters
addr
:
Raw
Returns
boolean
Static
is
Public
isPublic
(
addr
:
Raw
)
:
boolean
Parameters
addr
:
Raw
Returns
boolean
Static
is
Special
isSpecial
(
addr
:
Raw
,
range
?:
Special
|
Special
[]
)
:
boolean
Parameters
addr
:
Raw
Optional
range
:
Special
|
Special
[]
Returns
boolean
Static
mask
mask
(
addr
:
Raw
,
mask
:
Raw
)
:
string
Parameters
addr
:
Raw
mask
:
Raw
Returns
string
Static
normalize
Family
normalizeFamily
(
family
:
string
|
number
)
:
Family
Parameters
family
:
string
|
number
Returns
Family
Static
normalize
To
Long
normalizeToLong
(
addr
:
string
,
strict
?:
boolean
)
:
number
Parameters
addr
:
string
strict
:
boolean
= false
Returns
number
Static
not
not
(
addr
:
Raw
)
:
string
Parameters
addr
:
Raw
Returns
string
Static
or
or
(
addrA
:
Raw
,
addrB
:
Raw
)
:
string
Parameters
addrA
:
Raw
addrB
:
Raw
Returns
string
Static
subnet
subnet
(
addr
:
Raw
,
smask
:
Raw
)
:
Subnet
Parameters
addr
:
Raw
smask
:
Raw
Returns
Subnet
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
big
family
raw
Accessors
range
Methods
to
Array
to
Buffer
to
Long
to
String
cidr
cidr
Subnet
from
from
Prefix
Len
is
Equal
is
Private
is
Public
is
Special
mask
normalize
Family
normalize
To
Long
not
or
subnet
@webpod/ip - v0.5.2
Loading...