Skip to content

wackfx/wacky-ids

Repository files navigation

Short Unique ID (UUID) - @wackfx edition

Heavily inspired (with chunks of codes from) short-unique-id by jeanlescure.

Rewritten to be compatible with Cloudflare workers - no dependencies - only pure JS.


Use it

import ShortUUID from 'wacky-ids'
const UUID = ShortUUID({ dictionary: 'alphanum' })
console.log(UUID.randomUUID()) // by default - random 6 uuid
console.log(UUID.randomUUID(10))

About

Short UUIDs for all environments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published