Download next.js/packages/next/src/server/lib/module-loader/module-loader.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 122 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/server/lib/module-loader/module-loader.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/server/lib/module-loader/module-loader.ts
-
curl -L -o module-loader.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/server/lib/module-loader/module-loader.ts
122 Bytes
| /** | |
| * Loads a given module for a given ID. | |
| */ | |
| export interface ModuleLoader { | |
| load<M = any>(id: string): Promise<M> | |
| } | |