Bun

interface

url.PathToFileUrlOptions

interface PathToFileUrlOptions

  • windows?: boolean

    true if the path should be return as a windows filepath, false for posix, and undefined for the system default.