@webda/corefunctionsgetCommonJSOn this page@webda/core • Readme | API Function: getCommonJS() getCommonJS(urlInfo): Object Get commonjs info __filename and __dirname Parameters • urlInfo: string Returns Object __dirname __dirname: string __filename __filename: string Example const { __filename, __dirname } = getCommonJS(import.meta.url); Source packages/core/src/utils/esm.ts:13