Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
class ModuleList
import { ModuleList } from "https://deno.land/x/frugal@0.2.1/packages/core/DependencyGraph.ts";

Class holding the list of all unique modules inside a dependency graph

Constructors

new
ModuleList(modules: Record<string, Module>)

Methods

get(url: URL): Module | undefined

Query the module info based on its URL

save(filePath: string)

Static Methods

build(dependencyGraph: graph.DependencyGraph)

Build the module list from a dependency graph

load(filePath: string)