Skip to main content

atproto timestamp identifier codec library

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
3 days ago (1.0.2)
f
create

Creates a TID based off provided timestamp and clockid

f
createRaw

Creates a TID based off provided timestamp and clockid, with no validation.

f
now

Return a TID based on current time

f
parse

Parses a TID, throws on invalid strings.

f
validate

Validate if string is a valid TID