index
Functions
hydrate()
function hydrate(
id,
name?,
options?): SpecDefined in: index.ts:28
Turn a DepID into a Spec object using
the Node.js-specific Spec.parse method.
Parameters
| Parameter | Type |
|---|---|
id | DepID |
name? | string |
options? | SpecOptions |
Returns
hydrateTuple()
function hydrateTuple(
tuple,
name?,
options?): SpecDefined in: index.ts:48
Turn a DepIDTuple into a Spec object using
the Node.js-specific Spec.parse method.
Parameters
| Parameter | Type |
|---|---|
tuple | DepIDTuple |
name? | string |
options? | SpecOptions |
Returns
resetCaches()
function resetCaches(): voidDefined in: index.ts:176
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
joinExtra
Re-exports joinExtra
splitDepID
Re-exports splitDepID
splitExtra
Re-exports splitExtra