Skip to main content
Module

std/node/upstream_modules.ts

Deno standard library
Go to Latest
File
// Upstream modulesconst callerPath = `const callerCallsite = require("caller-callsite");const re = /^file:/;
module.exports = () => { const fileUrl = callerCallsite().getFileName(); return fileUrl.replace(re, "");};`;
export default { "caller-path": callerPath,} as Record<string, string>;