Skip to content

Files

Latest commit

c8539ec · Feb 13, 2025

History

History

tid

@atcute/tid

atproto timestamp identifier codec library

import * as TID from '@atcute/tid';

const tidString = TID.now();
//    ^? "3l25zusnsfctk"

const result = TID.parse(tidString);
//    ^? { timestamp: 1724171495793000, clockid: 816 }