Skip to content

crabmusket/hscuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hscuid Build Status

A Haskell port of the JavaScript library for collision-resistant identifiers. To install, cabal install hscuid.

What is a CUID?

CUIDs are short random strings designed so that you can generate a lot of them over many different machines and not get collisions. They are designed to be usable in many situations, such as HTML element IDs. You can read more about them at usecuid.org.

How do I use this library?

There is only one export, newCuid:

import Web.Cuid (newCuid)

main = print =<< newCuid

About

Collision-resistant IDs for horizontal scaling

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •