Download web/node_modules/enhanced-resolve/lib/util/url-browser.js from Amitkumar001/Law_Slm: direct link, hf CLI and curl.
- Browser
- Download file 486 Bytes
-
https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/web/node_modules/enhanced-resolve/lib/util/url-browser.js
- Command line
-
hf download hf://Amitkumar001/Law_Slm/web/node_modules/enhanced-resolve/lib/util/url-browser.js
-
curl -L -o url-browser.js https://huggingface.co/Amitkumar001/Law_Slm/resolve/main/web/node_modules/enhanced-resolve/lib/util/url-browser.js
486 Bytes
| /* | |
| MIT License http://www.opensource.org/licenses/mit-license.php | |
| */ | |
| ; | |
| // Browser shim for the Node `url` builtin, providing the `fileURLToPath` the | |
| // resolver uses. Node, Deno and Bun use the native `url` (so they get the fully | |
| // correct implementation); only browser bundles use this, wired in through the | |
| // package `browser` field. The implementation is a URL-based port — see | |
| // ./fileURLToPath. | |
| module.exports = { | |
| fileURLToPath: require("./fileURLToPath"), | |
| }; | |