Module.ResolveHookContext - Node documentation
interface Module.ResolveHookContext

Usage in Deno

import { type Module } from "node:module";
type { ResolveHookContext } = Module;

Properties

conditions: string[]

Export conditions of the relevant package.json

An object whose key-value pairs represent the assertions for the module to import

parentURL: string | undefined

The module importing this one, or undefined if this is the Node.js entry point