import { powar } from "https://deno.land/x/powar@1.0.1/example/deps.ts";
const { dir } = powar;
Get the directory of the given ImportMeta
.
Use dir(import.meta)
instead of __dirname
.
Parameters
importMeta: ImportMeta
import { powar } from "https://deno.land/x/powar@1.0.1/example/deps.ts";
const { dir } = powar;
Get the directory of the given ImportMeta
.
Use dir(import.meta)
instead of __dirname
.