PHP 8.2.30
Preview: index.js Size: 497 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/nanoid/non-secure/index.js

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 }

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
1.09 KB lrw-r--r-- 2026-02-28 11:42:22
Edit Download
983 B lrw-r--r-- 2026-02-28 11:42:36
Edit Download
497 B lrw-r--r-- 2026-02-28 11:42:28
Edit Download
99 B lrw-r--r-- 2026-02-28 11:42:32
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).