1import { fileURLToPath } from 'url'23export const urlToPath = (url: string | URL) => fileURLToPath(url)4