core-uuid
Version:
A zero-dependency, secure, and lightweight UUID v4 generator written in TypeScript.
13 lines (12 loc) • 475 B
TypeScript
/**
* Entry point for the core-uuid package.
*
* Exposes public UUID generation APIs and secure random byte utilities.
*
* - `uuidv4`: Generates RFC 4122-compliant UUID v4 strings
* - `getSecureRandomBytes`: Generates cryptographically secure random bytes for advanced use cases
*
* This file re-exports only the public API for consumers.
*/
export * from "./uuid/index.js";
export { getSecureRandomBytes, UUID_BYTES, TOKEN_BYTES } from "./random/secure-random.js";