v1

latestOpenAPI 3.0.12026-07-175557102.5 KB

Get the dependency graph of a package version

Returns the full dependency graph of a package version

get/scopes/{scope}/packages/{package}/versions/{version}/dependencies/graph

Path parameters

scopestring required

The name of a scope. This must not be @ prefixed.

Example:denoland

The name of the scope

packagestring required

The name of a package.

Example:fmt

The name of the package

versionstring required

A semantic version.

Example:1.2.3

The version of the package

Response

OK

idinteger required

The unique identifier for this item in the graph.

dependencyobject required

The dependency information.

childreninteger[] required

IDs of child dependencies.

sizeinteger nullable

Size in bytes of the dependency.

mediaTypestring nullable

The media type of the file.