Download scripts/register-alias.mjs from helo-ayush/NewIntentExtractor: direct link, hf CLI and curl.
- Browser
- Download file 214 Bytes
-
https://huggingface.co/spaces/helo-ayush/NewIntentExtractor/resolve/main/scripts/register-alias.mjs
- Command line
-
hf download hf://spaces/helo-ayush/NewIntentExtractor/scripts/register-alias.mjs
-
curl -L -o register-alias.mjs https://huggingface.co/spaces/helo-ayush/NewIntentExtractor/resolve/main/scripts/register-alias.mjs
214 Bytes
| /** | |
| * Registers the `@/*` alias resolver for `node` script runs. | |
| * See scripts/alias-hooks.mjs for why this is needed. | |
| */ | |
| import { register } from "node:module"; | |
| register("./alias-hooks.mjs", import.meta.url); | |