Download node_modules/form-data-encoder/lib/esm/util/createBoundary.js from HarshvardhanCn01/Voice-Assistant: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/HarshvardhanCn01/Voice-Assistant/resolve/main/node_modules/form-data-encoder/lib/esm/util/createBoundary.js
- Command line
-
hf download hf://spaces/HarshvardhanCn01/Voice-Assistant/node_modules/form-data-encoder/lib/esm/util/createBoundary.js
-
curl -L -o createBoundary.js https://huggingface.co/spaces/HarshvardhanCn01/Voice-Assistant/resolve/main/node_modules/form-data-encoder/lib/esm/util/createBoundary.js
263 Bytes
| const alphabet = "abcdefghijklmnopqrstuvwxyz0123456789"; | |
| function createBoundary() { | |
| let size = 16; | |
| let res = ""; | |
| while (size--) { | |
| res += alphabet[(Math.random() * alphabet.length) << 0]; | |
| } | |
| return res; | |
| } | |
| export default createBoundary; | |