Skip to main content
Module.ResolveHookContext - module - Node documentation
interface Module.ResolveHookContext

Usage in Deno

import { Module } from "node: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

Back to top