Skip to content

@vltpkg/graph/browser

Variables

lockfile

const lockfile: object

Defined in: browser.ts:12

Type declaration

loadEdges()
loadEdges: (graph, edges, options) => void;
Parameters
graph

GraphLike

edges

LockfileEdges

options

SpecOptions

Returns

void

loadNodes()
loadNodes: (graph, nodes) => void;
Parameters
graph

GraphLike

nodes

Record<DepID, LockfileNode>

Returns

void

References

asDependencyTypeShort

Re-exports asDependencyTypeShort

EdgeLike

Re-exports EdgeLike

getBooleanFlagsFromNum

Re-exports getBooleanFlagsFromNum

GraphLike

Re-exports GraphLike

longDependencyTypes

Re-exports longDependencyTypes

NodeLike

Re-exports NodeLike

shorten

Re-exports shorten

stringifyNode

Re-exports stringifyNode