silverwolf-x/project / packages /next /src /lib /normalize-path.ts
silverwolf-x's picture
download
raw
134 Bytes
import path from 'path'
export function normalizePath(file: string) {
return path.sep === '\\' ? file.replace(/\\/g, '/') : file
}

Xet Storage Details

Size:
134 Bytes
·
Xet hash:
ef3e55d9a7d8a79781900ce2d49d266bdccd98a875da98b1bda3d22e4af301e1

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.