A uuid generator library for NodeJS.
npm install @litert/uuid





A uuid generator library for NodeJS.
- TypeScript v5.0.0 (or newer)
- Node.js v18.0.0 (or newer)
Install by NPM:
``sh``
npm i @litert/uuid --save
- English
A 64-bit integer UUID algorithm provided by X (Twitter).
The Snowflake-SI algorithm generates safe integer (53-bits integer) for
JavaScript, with capacity 128 uuids per milliseconds, and 64 machine parallel
working.
- UUIDv4
The UUID version 4 algorithm generates random UUIDs.
- UUIDv5
The UUID version 5 algorithm generates UUIDs based on SHA-1 hash of a namespace and a name.
- Snowflake
- Snowflake-SI
- UUIDv4
- UUIDv5
This library is published under Apache-2.0 license.