interface ModuleJson
implements CacheInfo
import { type ModuleJson } from "https://deno.land/x/deno_graph@0.38.0/lib/types.d.ts";
Properties
optional
kind: ModuleKindThe module kind that was determined when the module was resolved. This is used by loaders to indicate how a module needs to be loaded at runtime.
optional
dependencies: DependencyJson[]An array of dependencies that were identified in the module.
optional
typesDependency: TypesDependencyJsonIf the module had a types dependency, the information about that dependency.
optional
mediaType: MediaTypeThe resolved media type of the module, which determines how Deno will handle the module.
If available, the calculated checksum of the module which can be used for validating the integrity of the module.
optional
sourceMap: RawSourceMapIf available, the upstream source map from the module. If present,
sourceMapUrl
will be undefined.
optional
sourceMapUrl: SourceMapUrlIf available, the upstream source map URL from the module. If present,
sourceMap
will be undefined.