# JavaScript ULIDs for sortable, monotonic identifiers

Canonical source : [JavaScript ULIDs for sortable, monotonic identifiers](<https://sebastien.rigaux.be/en/tech-watch/links/javascript-ulids-for-sortable-monotonic-identifiers>)

This JavaScript repository generates **ULIDs**: 26-character identifiers compatible with 128 bits and sortable lexicographically. Their time component helps order identifiers, while the monotonic generator preserves strict ordering when multiple values are created within the same millisecond.

The library detects a cryptographically secure pseudorandom number generator (`crypto.getRandomValues` in browsers, `crypto.randomBytes` in Node.js). It also provides timestamp validation, encoding and decoding, along with ESM and CommonJS entry points.

- Selected on : 2026-11-26

- Entry updated : 2026-11-26T10:00:16+0000

- Format : Repository

- Source language : EN

Original resource : [JavaScript ULIDs for sortable, monotonic identifiers](<https://github.com/ulid/javascript>)

Tags : [JavaScript](<https://sebastien.rigaux.be/en/tech-watch/tags/javascript>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/ulid-en-javascript-des-identifiants-triables-et-monotones>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/javascript-ulids-for-sortable-monotonic-identifiers>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
