Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_graph/types.ts>ModuleKind

The module graph logic for Deno CLI
Go to Latest
type alias ModuleKind
import { type ModuleKind } from "https://deno.land/x/deno_graph@0.63.3/types.ts";

The kind of module.

For asserted modules, the value of the asserted property is set to the type value of the import attribute.

Dependency analysis is not performed for asserted or Script modules currently. Synthetic modules were injected into the graph with their own dependencies provided.

definition:
| "asserted"
| "esm"
| "npm"
| "external"