mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-04 14:00:49 +00:00
nhj
more
This commit is contained in:
12
unified-ai-platform/node_modules/form-data-encoder/lib/cjs/util/createBoundary.js
generated
vendored
Normal file
12
unified-ai-platform/node_modules/form-data-encoder/lib/cjs/util/createBoundary.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
const alphabet = "abcdefghijklmnopqrstuvwxyz0123456789";
|
||||
function createBoundary() {
|
||||
let size = 16;
|
||||
let res = "";
|
||||
while (size--) {
|
||||
res += alphabet[(Math.random() * alphabet.length) << 0];
|
||||
}
|
||||
return res;
|
||||
}
|
||||
exports.default = createBoundary;
|
||||
Reference in New Issue
Block a user