Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.

nanoid

nanoid is like a shorter, more fashionable alternative to UUIDs. Versus UUIDs:

  • They're shorter, with a more customizable alphabet.
  • They use more different characters by default.
  • Unlike UUIDs, there aren't custom types for nanoids in databases
  • Nanoids never contain information. UUIDs sometimes do: some UUIDs contain timestamps and MAC addresses.

Migrated from folder: Modules/nanoidExample