@tim-code/project-dir
v0.1.2
Published
``` import { projectDir } from "@tim-code/project-dir" console.log(projectDir(import.meta.url)) ```
Downloads
12
Readme
project-dir
import { projectDir } from "@tim-code/project-dir"
console.log(projectDir(import.meta.url))
If you want to compile to CommonJS, you will want to use babel-plugin-transform-import-meta
as well.