mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
298 B
298 B
name
| name |
|---|
| Get the directory of the current file |
Bun provides a handful of module-specific utilities on the import.meta object.
import.meta.dir; // => "/a/b"
See Docs > API > import.meta for complete documentation.