Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
SemVerModule
Module SemVerModule
Index
Classes
Comparator
Range
SemVer
SemVerBase
Functions
cmp
compare
eq
gt
gte
gtr
inc
lt
lte
ltr
maxSatisfying
neq
outside
rcompare
satisfies
valid
validRange
Functions
cmp
(
v1
:
string
, comparator
:
any
, v2
:
string
, loose
?:
boolean
)
:
boolean
Parameters
v1:
string
comparator:
any
v2:
string
loose?:
boolean
optional
Returns
boolean
compare
(
v1
:
string
, v2
:
string
, loose
?:
boolean
)
:
number
Parameters
v1:
string
v2:
string
loose?:
boolean
optional
Returns
number
eq
(
v1
:
string
, v2
:
string
, loose
?:
boolean
)
:
boolean
Parameters
v1:
string
v2:
string
loose?:
boolean
optional
Returns
boolean
gt
(
v1
:
string
, v2
:
string
, loose
?:
boolean
)
:
boolean
Parameters
v1:
string
v2:
string
loose?:
boolean
optional
Returns
boolean
gte
(
v1
:
string
, v2
:
string
, loose
?:
boolean
)
:
boolean
Parameters
v1:
string
v2:
string
loose?:
boolean
optional
Returns
boolean
gtr
(
version
:
string
, range
:
string
, loose
?:
boolean
)
:
boolean
Parameters
version:
string
range:
string
loose?:
boolean
optional
Returns
boolean
inc
(
v
:
string
, release
:
string
, loose
?:
boolean
)
:
string
Parameters
v:
string
release:
string
loose?:
boolean
optional
Returns
string
lt
(
v1
:
string
, v2
:
string
, loose
?:
boolean
)
:
boolean
Parameters
v1:
string
v2:
string
loose?:
boolean
optional
Returns
boolean
lte
(
v1
:
string
, v2
:
string
, loose
?:
boolean
)
:
boolean
Parameters
v1:
string
v2:
string
loose?:
boolean
optional
Returns
boolean
ltr
(
version
:
string
, range
:
string
, loose
?:
boolean
)
:
boolean
Parameters
version:
string
range:
string
loose?:
boolean
optional
Returns
boolean
maxSatisfying
(
versions
:
Array<string>
, range
:
string
, loose
?:
boolean
)
:
string
Parameters
versions:
Array<string>
range:
string
loose?:
boolean
optional
Returns
string
neq
(
v1
:
string
, v2
:
string
, loose
?:
boolean
)
:
boolean
Parameters
v1:
string
v2:
string
loose?:
boolean
optional
Returns
boolean
outside
(
version
:
string
, range
:
string
, hilo
:
string
, loose
?:
boolean
)
:
boolean
Parameters
version:
string
range:
string
hilo:
string
loose?:
boolean
optional
Returns
boolean
rcompare
(
v1
:
string
, v2
:
string
, loose
?:
boolean
)
:
number
Parameters
v1:
string
v2:
string
loose?:
boolean
optional
Returns
number
satisfies
(
version
:
string
, range
:
string
, loose
?:
boolean
)
:
string
Parameters
version:
string
range:
string
loose?:
boolean
optional
Returns
string
valid
(
v
:
string
, loose
?:
boolean
)
:
string
Parameters
v:
string
loose?:
boolean
optional
Returns
string
validRange
(
range
:
string
, loose
?:
boolean
)
:
string
Parameters
range:
string
loose?:
boolean
optional
Returns
string
Globals
SemVerModule
semver
Comparator
Range
SemVer
SemVerBase
cmp
compare
eq
gt
gte
gtr
inc
lt
lte
ltr
maxSatisfying
neq
outside
rcompare
satisfies
valid
validRange