File SystemUtilities
Get the directory of the current file
Bun provides a handful of module-specific utilities on the import.meta object. Use import.meta.dir to retrieve the absolute path to the directory containing the
Get the path to an executable bin file
Bun.which finds the absolute path of an executable file, like the which command on Unix-like systems.
Get the file name of the current file
Bun provides a handful of module-specific utilities on the import.meta object. Use import.meta.file to retrieve the name of the current file.