Skip to content
/ cuid Public

Collision-resistant ids for clojure and clojurescript.

License

Notifications You must be signed in to change notification settings

hden/cuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuid Build Status codecov

Collision-resistant ids for clojure and clojurescript. Ported from https://github.com/ericelliott/cuid. (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.

clojars

Usage

(ns example
  (:require [cuid.core :as c]))

(println (c/cuid))

;; optionally with custom fingerprint
(println (c/cuid {:foo "bar"}))

License

MIT

About

Collision-resistant ids for clojure and clojurescript.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •