本页还没有译文
还没翻译·译自英文(bun.com)·本页 3 段都还没译
Use Bun.fileURLToPath() to convert a file:// URL to an absolute path.
Bun.fileURLToPath()
file://
Bun.fileURLToPath("file:///path/to/file.txt"); // => "/path/to/file.txt"
See Utils.