Download src/dirname.js from pnacorp/xsender: direct link, hf CLI and curl.
- Browser
- Download file 152 Bytes
-
https://huggingface.co/pnacorp/xsender/resolve/main/src/dirname.js
- Command line
-
hf download hf://pnacorp/xsender/src/dirname.js
-
curl -L -o dirname.js https://huggingface.co/pnacorp/xsender/resolve/main/src/dirname.js
152 Bytes
| import { dirname } from 'path' | |
| import { fileURLToPath } from 'url' | |
| const __dirname = dirname(fileURLToPath(import.meta.url)) | |
| export default __dirname | |