Download apps/web/src/node-module-stub.ts from SaylorTwift/deepseek-harness: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/SaylorTwift/deepseek-harness/resolve/main/apps/web/src/node-module-stub.ts
- Command line
-
hf download hf://SaylorTwift/deepseek-harness/apps/web/src/node-module-stub.ts
-
curl -L -o node-module-stub.ts https://huggingface.co/SaylorTwift/deepseek-harness/resolve/main/apps/web/src/node-module-stub.ts
408 Bytes
| /** | |
| * Browser stand-in for `node:module`. `createRequire` is unreachable in the | |
| * configured loader path and fails loud if that assumption changes. | |
| */ | |
| /** Fail if browser boot reaches Node's module loader. */ | |
| export const createRequire = (): never => { | |
| throw new Error('node:module is not available in the browser') | |
| } | |
| /** Type-only peer for the vendored loader. */ | |
| export type LoadHookContext = never | |