nanoid

A tiny (116 bytes), secure URL-friendly unique string ID generator

hexoid

A tiny (190B) and extremely fast utility to generate random IDs of fixed length