On this pageIDUtilsModule OverviewKeywork includes utilities for generating IDs.ULIDsULIDs are provided via ULIDXimport { ulid } from 'keywork/ids'const id = ulid()Snowflake IDsKeywork's SnowflakeID is a basic implementation of Twitter's original Snowflake ID system.import { SnowflakeID } from 'keywork/ids'const id = new SnowflakeID()UsageNodeDenoBrowser/ESMimport * as IDUtils from 'keywork/ids'import * as IDUtils from 'https://deno.land/x/keywork/ids'let IDUtils = await import('https://esm.sh/keywork/ids')IDs ClassesSnowflakeID
Keywork includes utilities for generating IDs.
ULIDs
ULIDs are provided via ULIDX
Snowflake IDs
Keywork's
SnowflakeID
is a basic implementation of Twitter's original Snowflake ID system.