Skip to main content
import * as callerMetadata from "https://deno.land/x/caller_metadata@v0.0.3/src/main.ts";

Functions

Injects meta data to the stack trace, which can be accessed within the function. Calls the function (async) with paramters.

Injects meta data to the stack trace, which can be accessed within the function. Calls the function (async) with paramters.

clear metadata for further call stack

returns the URL location directory from where the function that called getCallerDir() was called

returns the URL location from where the function that called getCallerFile() was called

returns structured call stack data for the last callers: file, name and position in source code { file: string|null, name: string|null, row: number|null, col: number|null }

get the current DATEX meta data within a JS function scope