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

Usage in Deno

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

Back to top