REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 828 B
Close
//proc/thread-self/root/home/byroehnu/.trash/node_modules11/axios/lib/platform/node/index.js
Text
Base64
import crypto from 'crypto'; import URLSearchParams from './classes/URLSearchParams.js' import FormData from './classes/FormData.js' const ALPHA = 'abcdefghijklmnopqrstuvwxyz' const DIGIT = '0123456789'; const ALPHABET = { DIGIT, ALPHA, ALPHA_DIGIT: ALPHA + ALPHA.toUpperCase() + DIGIT } const generateString = (size = 16, alphabet = ALPHABET.ALPHA_DIGIT) => { let str = ''; const {length} = alphabet; const randomValues = new Uint32Array(size); crypto.randomFillSync(randomValues); for (let i = 0; i < size; i++) { str += alphabet[randomValues[i] % length]; } return str; } export default { isNode: true, classes: { URLSearchParams, FormData, Blob: typeof Blob !== 'undefined' && Blob || null }, ALPHABET, generateString, protocols: [ 'http', 'https', 'file', 'data' ] };
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 1
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
classes
DIR
-
drwxr-xr-x
2026-02-20 03:53:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.js
828 B
lrw-r--r--
2026-02-20 03:53:06
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).