-
Notifications
You must be signed in to change notification settings - Fork 3
Home
UCID (Unique Custom ID) is a blazing-fast, secure, and customizable JavaScript library for generating unique identifiers β with full control over format and randomness. Whether you're building distributed systems, tagging resources, or creating unique filenames, UCID gives you the power to generate IDs that are readable, reliable, and collision-resistant.
UCID was built to offer a flexible, developer-friendly way to generate secure IDs with full customization. Itβs ideal for frontend apps, backend services, CLI tools, and even creative projects that need consistent, unique tagging.
Hereβs what makes UCID stand out:
-
πΏ Zero dependencies
Lightweight and fast β no external packages required -
β‘ Blazingly fast
Generates IDs in milliseconds, even in high-throughput environments -
𧬠Flexible character sets, lengths, and formats
Customize the entropy, segment count, and character pool to suit your needs -
π Cryptographically secure randomness
Uses secure random values under the hood for maximum uniqueness -
π§© Template support
Define your own ID structure using templates -
π οΈ Predefined formats
Includes built-in presets for common use cases like UUID-style, short IDs, and timestamped keys -
π CLI support
Generate IDs directly from the terminal with zero setup -
π§ Intelligent configuration
Customized id generation based on your settings -
π₯ Almost no collision probability
Designed to scale across distributed systems without any ID conflicts
Next up β Usage
π unique-custom-id β most customizable ID generator you'll ever meet
π See our contributing guide for guidelines on how to contribute
π¬ Join the conversation on discussions
πͺͺ Licensed under MIT β free to fork, remix, and build upon
π Maintained by @calebephrem β contributions welcome!
β¨ Fork it. Tweak it. Make it yours.
- π Home
- π οΈ Usage
- π οΈ How To Use UCID
- π¦ Installation
- β Importing
- π Generate Simple ID
- π§© Configuration Options
- π§° Predefined Formats
- ποΈ Predefined Formats
- π§ Format Aliases
- π Format List
- π§ͺ Usage Examples
- β Remember
- 𧬠CLI
- π UCID CLI
- π Quick Start
- π CLI Options
- π§ͺ Examples
- πͺ£ Entropy Space