Module / v1.0.0-beta.7

@typed/id/Ksuid

3 unique exports available through this public import path, including their members and aliases.

import * as Ksuid from "@typed/id/Ksuid";

ID generation

  • ksuid

    variable

    Generates a KSUID from the current time and 16 random bytes.

ID schemas

  • Ksuid

    variable

    Effect Schema and branded string type for 27-character KSUID values.

ID validation

  • isKsuid

    variable

    Tests whether a string has the KSUID encoding shape.