Skip to main content
Home

@deno/graph@0.96.2
Built and signed on GitHub Actions

The module graph logic for Deno CLI.

This package works with Deno
This package works with Deno
JSR Score
70%
Published
2 weeks ago (0.96.2)

default

A JavaScript/TypeScript interface to the Deno CLI's module graph logic.

T
CacheSetting
No documentation available
f
createGraph

Create a module graph using the same algorithms that are used in the Deno CLI, resolving with the module graph for further processing.

f
init

Instantiates the Wasm module used within deno_graph.

E
MediaType
No documentation available
f
parseModule

Parse a module based on the supplied information and return its analyzed representation. If an error is encountered when parsing, the function will throw.

f
load

A Deno specific loader function that can be passed to the createModuleGraph which will use Deno.readTextFile for local files, or use fetch() for remote modules.

f
withResolvingRedirects
No documentation available
I
CacheInfo

Additional meta data that is used to enrich the output of the module graph.

I
Dependency
No documentation available
I
GraphImportJson
No documentation available
T
LoadResponse
No documentation available
I
LoadResponseExternal
No documentation available
I
I
LoadResponseRedirect
No documentation available
I
ModuleGraphJson

The plain-object representation of a module graph that is suitable for serialization to JSON.

T
ModuleKind

The kind of module.

I
PositionJson
No documentation available
I
Range
No documentation available
I
RangeJson
No documentation available
I
TypesDependency
No documentation available
I
TypesDependencyJson
No documentation available

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.