vlt / docs

  • PricingBenchmarks (opens in new window)Community (opens in new window)Feedback
  • Overview
    • Overview
    • browser
    • index
    • Reference
  • Functions
  • hydrate()
  • hydrateTuple()
  • resetCaches()
  • References
  • asDepID
  • baseDepID
  • delimiter
  • Delimiter
  • DepID
  • DepIDTuple
  • getId
  • getTuple
  • isDepID
  • isPackageNameConfused
  • joinDepIDTuple
  • joinExtra
  • splitDepID
  • splitExtra
  1. Client
  2. /
  3. API Reference
  4. /
  5. @vltpkg/dep-id
  6. /
  7. index

index

Functions

hydrate()

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

Defined in: index.ts:28

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

Parameters

ParameterType
idDepID
name?string
options?SpecOptions

Returns

Spec


hydrateTuple()

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

Defined in: index.ts:48

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

Parameters

ParameterType
tupleDepIDTuple
name?string
options?SpecOptions

Returns

Spec


resetCaches()

TypeScript
function resetCaches(): void

Defined 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


PreviousbrowserNextReference

On this page

  • Functions
  • hydrate()
  • hydrateTuple()
  • resetCaches()
  • References
  • asDepID
  • baseDepID
  • delimiter
  • Delimiter
  • DepID
  • DepIDTuple
  • getId
  • getTuple
  • isDepID
  • isPackageNameConfused
  • joinDepIDTuple
  • joinExtra
  • splitDepID
  • splitExtra

Deploy your package on vlt.io

Publish scoped and private packages, manage organizations and access, and give every developer and CI environment a consistent source for public and private JavaScript dependencies.

Publish now