@intutic/id
v3.2.3
Published
Prefixed, collision-resistant ID generation for Intutic workspaces and entities
Readme
@intutic/id
Prefixed, collision-resistant IDs and timestamps for Intutic packages.
import { newId, newIso } from '@intutic/id'
newId('wk') // 'wk_V1StGXR8_Z5jdHi6B-myT' prefix, underscore, 21-character nanoid
newIso() // '2026-10-26T21:38:09.123Z' ISO 8601, UTCnewId(prefix)returns<prefix>_<nanoid(21)>. Use a short prefix per kind of thing (wkfor a workspace,tcfor a tool call) so an ID is readable in a log line and still unique.newIso()returns the current time as an ISO 8601 string. Use it instead of formatting dates by hand so timestamps look the same everywhere.
The package has one runtime dependency (nanoid) and no configuration.
MIT licensed. Source: github.com/intutic/intutic.
