Skip to content

crypto: add `randomULID` function

Rodrigo Muino Tomonari requested to merge github/fork/Xstoudi/feat/ulid into main

I propose to land randomULID in the crypto subsystem.

ULID are lexicographically sortable identifiers contaning both the time it was generated and a random part. Spec can be found here: https://github.com/ulid/spec

ULID implementation exists in userland, currently getting around 768'000 downloads per week: https://www.npmjs.com/package/ulid Since its release, popularity constantly grew: https://npmtrends.com/ulid

I will be happy to get feedbacks on the implementation and I'm obviously open to discuss if you have reluctance to land it in Node.js.

Merge request reports

Loading