[Runtime
](../../../index.md)[Package Manager
](../../../pm/cli/install/index.md)[Bundler
](../../../bundler/index.md)[Test Runner
](../../../test/index.md)[Guides
](../../index.md)[Reference
](https://bun.com/reference)[Blog
](https://bun.com/blog)[Feedback
](../../../feedback/index.md)
Bun provides a handful of module-specific utilities on the import.meta object.
/a/b/c.ts
import.meta.dir; // => "/a/b"
See Docs > API > import.meta for complete documentation.
Was this page helpful?
[
Get the path to an executable bin file
Previous
](../which-path-to-executable-bin/index.md)[
Get the file name of the current file
Next
](../import-meta-file/index.md)