Skip to main content
Module

x/molt/mod.ts>CollectOptions

Update dependencies the Deno way
Go to Latest
interface CollectOptions
import { type CollectOptions } from "https://deno.land/x/molt@0.16.3/mod.ts";

Properties

optional
cache: boolean

Whether to use the cache to resolve dependencies.

optional
cwd: string | URL

The working directory to resolve relative paths. If not specified, the current working directory is used. At present, this option is only used to find the import map.

optional
importMap: string | URL

The path to the import map used to resolve dependencies. If not specified, molt will automatically find deno.json or deno.jsonc in the current working directory or parent directories.

optional
ignore: (dependency: Dependency) => boolean

A function to filter out dependencies.

optional
only: (dependency: Dependency) => boolean

A function to pick dependencies.