mary-ext / pkg-atproto-tid

Create and parse AT Protocol's TID format

Home Page:https://codeberg.org/mary-ext/pkg-atproto-tid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atproto-tid

Create and parse AT Protocol TID's format.

create(1709512159544000, 24); // -> 3kmtfck6kq22s

now(); // -> 3kmtfb5wxvk2e

parse('3kmtfb5wxvk2e'); // -> { timestamp: 1709512113158000, clockid: 10 }

About

Create and parse AT Protocol's TID format

https://codeberg.org/mary-ext/pkg-atproto-tid

License:MIT License


Languages

Language:TypeScript 100.0%