ulid/javascript
View on GitHub ↗ ★ 3,448 TypeScript
Universally Unique Lexicographically Sortable Identifier
15 mentions on Hacker News by 15 people: 3 stories, 12 comments · first 2016-08-01 · latest 2025-12-10
20082026
-
> I hope that's not literally incrementing a sequence It's literally incrementing it by one: https://github.com/ulid/javascript/blob/11c2067821ee19e4dc78... https://github.com/ulid/javascript/blob/11c2067821ee19e4dc78...
comment by sedatk · 2025-12-10 · in ULID: Universally Unique Lexicographically Sortable Identifier -
…ter-within-the-same-millisecond-behavior only happens if you explicitly specify a "monotonicFactory", https://github.com/ulid/javascript#monotonic-ulids . The default behavior (just using the ulid() function) doesn't do that, it generates…
comment by hn_throwaway_99 · 2023-06-23 · in Analyzing New Unique Identifier Formats (UUIDv6, UUIDv7, and UUIDv8) (2022) -
…in multiple languages. there are 2 listed for js. https://github.com/aarondcohen/id128 and https://github.com/ulid/javascript
comment by mgkimsal · 2021-01-22 · in Show HN: 128-bit, roughly-ordered, URL-safe UUIDs -
…caused by index page splitting (I wrote a ULID implementation for MSSQL that handles this). https://github.com/alizain/ulid
comment by tatersolid · 2017-11-30 · in Auto increment is a terrible idea -
Does anyone use ULIDs [1] instead of UUIDs for stuff like this? I like that they're sortable. [1] https://github.com/alizain/ulid
comment by gjem97 · 2017-11-30 · in Auto increment is a terrible idea -
…so this is my go-to when I'm making nonces if I am not worried about super-double-secure prngs. https://github.com/alizain/ulid
comment by pfooti · 2017-09-12 · in Nano ID: A tiny, secure URL-friendly unique string ID generator for JavaScript -
▲ 1
Ulidstory by tosh · 2017-06-13 · 0 comments
-
…in the process. The simplest way to do that is to just throw UUID at all problems from the start. ( https://github.com/alizain/ulid s are better, but there aren't libraries to generate them in literally every language + RDBMS.)
comment by derefr · 2017-06-12 · in Chess.com stopped working on 32bit iPads because 2^31 games have been played -
…I need IDs that are time-sortable while still retaining the advantages of a UUID. Read more here: https://github.com/alizain/ulid The ultra-quick summary: 48 bits of timestamp followed by 80 bits of randomness. Also, when representing as…
comment by jdcarter · 2017-06-09 · in Be Careful with UUID or GUID as Primary Keys -
…to yours has a list that includes the one you mentioned and several others in various languages :) https://github.com/alizain/ulid#implementations-in-other-lan...
comment by eriknstr · 2017-06-08 · in A Brief History of the UUID -
There's also "ULID" in this neo-UUID space: https://github.com/alizain/ulid 48-bit timestamp plus 80 bits randomness, base32 encoding (no hyphens), and lexicographic sort order.
comment by mappu · 2017-06-07 · in A Brief History of the UUID -
…with using ulid identifiers, which won't face timestamp issues until around 10900 AD. Source here: https://github.com/alizain/ulid/
comment by grawlinson · 2017-06-07 · in A Brief History of the UUID -
My guess is that the README was mostly copied from here: https://github.com/alizain/ulid Which has a similar list, but presents them as features/facts, not advantages. Edit: Perhaps it was noted to specifically call out that it maintains…
comment by tyingq · 2016-12-06 · in Universally Unique Lexicographically Sortable Identifier in Go -
▲ 2
ULID – Chronologically sortable drop-in replacement for UUIDstory by alizainf · 2016-08-14 · 3 comments
-
▲ 2
ULID: Universally Unique Lexicographically Sortable Identifierstory by im_dario · 2016-08-01 · 3 comments