Buckets:
| import { createRequire } from "node:module" | |
| import path from "node:path" | |
| export namespace Module { | |
| export function resolve(id: string, dir: string) { | |
| try { | |
| return createRequire(path.join(dir, "package.json")).resolve(id) | |
| } catch {} | |
| } | |
| } | |
Xet Storage Details
- Size:
- 255 Bytes
- Xet hash:
- 4156f85a119f8a0afeec239c175e240cab6d68be7c96cc98a646e689b46522b2
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.