1 import { asValue } from "awilix"
2
3 export default async ({ container }) => {
4 const xxhashhWasm = await import("xxhash-wasm")
5 const { h64ToString } = await xxhashhWasm.default()
6
7 container.register("hasher", asValue(h64ToString))
8 }