silverwolf-x/project / packages /next /src /server /normalizers /wrap-normalizer-fn.ts
silverwolf-x's picture
download
raw
158 Bytes
import type { Normalizer } from './normalizer'
export function wrapNormalizerFn(fn: (pathname: string) => string): Normalizer {
return { normalize: fn }
}

Xet Storage Details

Size:
158 Bytes
·
Xet hash:
3951ab722985568cfc79ba3163bf8038599384621fa3b55ed4f2df12dadf246e

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