Cuid2
Secure, collision-resistant ids optimized for horizontal scaling and performance. Next generation UUIDs.
Install / Use
/learn @hden/Cuid2README
cuid2 
Secure, collision-resistant ids optimized for horizontal scaling and performance. Next generation UUIDs.
Ported from https://github.com/paralleldrive/cuid2
Usage
(require '[cuid2.core :refer [cuid cuid?]])
(cuid)
; "j9f203xe1wxw8nkor3yd4bkp"
(cuid? (cuid))
; true
(cuid {:length 32})
; "hjm1wxqkahfzh58h936ryr5aqh70iwe9"
Testing
See test/cuid2/core_test.clj
License
Copyright © 2023 Haokang Den
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available at https://www.gnu.org/software/classpath/license.html.
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
