Tiny unique ID generator, similar to nanoid. https://www.npmjs.com/package/foxid
Find a file
2025-10-27 13:19:38 -07:00
lib Refactor into single file 2025-10-27 13:15:56 -07:00
.editorconfig Refactor into single file 2025-10-27 13:15:56 -07:00
LICENSE Update package.json, README.md, LICENSE 2025-10-27 13:16:15 -07:00
package-lock.json Generate lockfile 2025-10-27 13:19:38 -07:00
package.json Update repository 2025-10-27 13:19:01 -07:00
README.md Update package.json, README.md, LICENSE 2025-10-27 13:16:15 -07:00

foxid

Tiny unique ID generator, similar to nanoid.

  • URL-friendly
  • Cryptographically secure
  • Simple implementation
  • Good performance
  • Node.js/Deno/Bun and browser support
var foxid = require('foxid')
foxid() // "w9q567s7qj4bmp9h"
foxid(32) // "tw24cymw3kb225mctevc3csna241pnm2"

License

Licensed under the MIT License.

Made with ❤ by Lua (foxgirl.dev).