@vltpkg/dep-id
Functions
hydrate()
function hydrate(id, name?, options?): Spec
Defined in: index.ts:24
Turn a DepID into a
Spec object using the
Node.js-specific Spec.parse
method.
Parameters
id
name?
string
options?
SpecOptions
= {}
Returns
hydrateTuple()
function hydrateTuple(tuple, name?, options?): Spec
Defined in: index.ts:44
Turn a DepIDTuple into a
Spec object using the
Node.js-specific Spec.parse
method.
Parameters
tuple
name?
string
options?
SpecOptions
= {}
Returns
resetCaches()
function resetCaches(): void
Defined in: index.ts:155
Reset internal caches. This should be used when options change since they’re not take into account in the memoization keys.
Returns
void
References
asDepID
Re-exports asDepID
baseDepID
Re-exports baseDepID
delimiter
Re-exports delimiter
Delimiter
Re-exports Delimiter
DepID
Re-exports DepID
DepIDTuple
Re-exports DepIDTuple
getId
Re-exports getId
getTuple
Re-exports getTuple
isDepID
Re-exports isDepID
isPackageNameConfused
Re-exports isPackageNameConfused
joinDepIDTuple
Re-exports joinDepIDTuple
splitDepID
Re-exports splitDepID