Skip to content

rowtype-yoga/purescript-nanoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purescript-nanoid

Bindings to the nanoid JavaScript package

NanoIDs are an alternative to UUIDs

Usage

main = do
  NanoID id <- newNanoID
  Console.log id
  NanoID shorterId <- newNanoIDWithLength 8
  Console.log shorterId