Skip to content

Functions

hydrate()

function hydrate(id, name?, options?): Spec

Defined in: index.ts:20

Turn a DepID into a Spec object using the Node.js-specific Spec.parse method.

Parameters

id

DepID

name?

string

options?

SpecOptions = {}

Returns

Spec


hydrateTuple()

function hydrateTuple(tuple, name?, options?): Spec

Defined in: index.ts:31

Turn a DepIDTuple into a Spec object using the Node.js-specific Spec.parse method.

Parameters

tuple

DepIDTuple

name?

string

options?

SpecOptions = {}

Returns

Spec

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