Skip to main content
Module.findSourceMap - module - Node documentation
function Module.findSourceMap

Usage in Deno

import { Module } from "node:module";
findSourceMap(
path: string,
error?: Error,
): SourceMap

path is the resolved path for the file for which a corresponding source map should be fetched.

Parameters

path: string
optional
error: Error

Return Type

Returns module.SourceMap if a source map is found, undefined otherwise.

Back to top