emoji-uid
v1.0.3
Published
Get π₯ UIDs to help make things π―
Downloads
5
Readme
π―ππ
This package is probably not a safe way to generate IDs in production
This package generates unique identifiers, but the identifiers are a string of emoji.
import getId from 'emoji-uid'
const id = getId();
// id of π―ππ or similar
If you want to specify the ID length, you can provide that as an argument:
import getId from 'emoji-uid'
const id = getId(5);
// id of π―πππ³οΈβππ or similar
This library includes 858 emojis, or more than 631 million possible unique ids,
Some emojis have been removed from the set for not working on my machine, implying negative sentiment, or my personal preference.
This project inspired by human-readable-ids, but with more troll.