1.1.0 • Published 2 years ago
@rdshah/uuid v1.1.0
uuid
For use on the frontend. Exports two things
sessionId
string of length 23makeId
function 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.