An open API service indexing awesome lists of open source software.

https://github.com/qwtel/web-uuid

A UUID class that stringifies to URL-safe base64.
https://github.com/qwtel/web-uuid

Last synced: 5 months ago
JSON representation

A UUID class that stringifies to URL-safe base64.

Awesome Lists containing this project

README

        

# Web UUID
A UUID class that stringifies to URL-safe base64.

WebUUIDs are represented as bytes (`Uint8Array`) and converted to strings on-demand.

This class implements `toString` and `toJSON` for better language integration,
as well as inspection for node and Deno for a better development experience.

For the most part, `WebUUID` can be used where UUID strings are used,
except for equality checks. For those cases, `WebUUID` provides quick access
to the string representations via the `id` field.