desm
get the file directory from import.meta.url
filedirname
Fetch the current file and directory path, no matter your environment (Deno, Node.js, Web Browsers, ESM, CJS)
paths.macro
Babel plugin that returns an object containing paths like __dirname and __filename as static values