Skip to main content

function Module.createRequire

#createRequire(path: string | URL): Require

Parameters #

#path: string | URL

Filename to be used to construct the require function. Must be a file URL object, file URL string, or absolute path string.

Return Type #

你找到了你需要的东西吗?

隐私政策