Module / v1.0.0-beta.13

@typed/id/NanoId

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

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

ID generation

  • nanoId

    variable

    Generates a 21-character NanoId from the current RandomValues service.

ID schemas

  • NanoId

    variable

    Effect Schema and branded string type for URL-safe Nano IDs.

ID validation

  • isNanoId

    variable

    Tests whether a string has the NanoId alphabet and brandable shape.