1.1.0 • Published 4 years ago
@rdshah/uuid v1.1.0
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.