Cheap non-ugly ULID combining time and a random number using radix 36. Date.now().toString(36) + Math.random().toString(36).replace('0.', '') // something like lulgjvgkc5mk5sbmfaf