Skip to main content
Module.createRequire - module - Node documentation
method Module.createRequire

Usage in Deno

import { Module } from "node:module";
Module.createRequire(path: string | URL): NodeRequire

Parameters

path: string | URL

Return Type

NodeRequire
Back to top