SkillAgentSearch skills...

Cuid

Collision-resistant ids optimized for horizontal scaling and binary search lookup performance. Based on ericelliott javascript library

Install / Use

/learn @raphaelmansuy/Cuid
About this skill

Quality Score

0/100

Supported Platforms

Zed

README

cuid

CI Status Version License Platform FOSSA Status

Collision-resistant ids optimized for horizontal scaling and binary search lookup performance.

This is port in Swift 4.2 language of the javascript project https://github.com/ericelliott/cuid

returns a short random string with some collision-busting measures. Safe to use as HTML element ID's, and unique server-side record lookups.

let id = Cuid.generateId()

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

None

Installation

cuid is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'cuid'

Author

Raphael MANSUY, raphael.mansuy@gmail.com

License

cuid is available under the MIT license. See the LICENSE file for more info.

FOSSA Status

View on GitHub
GitHub Stars8
CategoryDevelopment
Updated6mo ago
Forks7

Languages

Swift

Security Score

87/100

Audited on Oct 4, 2025

No findings