NanoID

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 Jul 19 15:55
Editor
Edited
Edited
2021 Dec 7 4:41
Refs
Refs
UUID
  • Very small — 130 bytes (minified and gzipped);
  • No dependencies;
  • Fast — It is faster than other generators.
  • Safe — It uses hardware random generator. Can be used in clusters.
  • Short IDs — It uses a larger alphabet than UUID (A-Za-z0-9_-). So ID size was reduced from 36 to 21 symbols.
  • In most of the random generators, they use unsafe Math.random(). But, NanoID uses crypto moduleand Web Crypto API which is more secure
  • NanoID is 60% faster than the UUID
notion image
 
 
 
 
 
Why is NanoID Replacing UUID?
UUID is one of the most used universal identifiers in software development. However, over the past few years, other alternatives challenged its existence. So, in this article, I will discuss the...
Why is NanoID Replacing UUID?
 

Recommendations