@rdshah/uuid
v1.1.0
Published
Tiny library for creating unique IDs on the frontend. (Does NOT implement RFC4122).
Readme
uuid
For use on the frontend. Exports two things
sessionIdstring of length 23makeIdfunction taking no arguments and returning string of length at least 25.
If no more than 11 thousand people visit your webpage every millisecond, then sessionId will be unique for each page visit for the next several hundred years. makeId can be called an unlimited number of times within each page visit and the output is guaranteed to be unique.
