Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-02-03 00:13:31 +00:00
parent 46ebe81379
commit 64e3aacf0c
2373 changed files with 904760 additions and 0 deletions

21
client/node_modules/nanoid/non-secure/index.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
let urlAlphabet =
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
let customAlphabet = (alphabet, defaultSize = 21) => {
return (size = defaultSize) => {
let id = ''
let i = size | 0
while (i--) {
id += alphabet[(Math.random() * alphabet.length) | 0]
}
return id
}
}
let nanoid = (size = 21) => {
let id = ''
let i = size | 0
while (i--) {
id += urlAlphabet[(Math.random() * 64) | 0]
}
return id
}
export { nanoid, customAlphabet }