Module.SourceOrigin - Node documentation
interface Module.SourceOrigin

Usage in Deno

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

Properties

optional
name: string

The name of the range in the source map, if one was provided

fileName: string

The file name of the original source, as reported in the SourceMap

lineNumber: number

The 1-indexed lineNumber of the corresponding call site in the original source

columnNumber: number

The 1-indexed columnNumber of the corresponding call site in the original source