Files
twtxt-lib/dist-node/hashTwt.d.ts
Eric Woodward c776b5df6a add support for v2 hashing algorithm.
update README.md and demo file to be more in sync.
update to v0.10.0.
2026-03-29 22:34:43 -04:00

4 lines
231 B
TypeScript

import { Twt } from './types.ts';
export type HashableTwt = Pick<Twt, "content" | "created" | "url"> & Partial<Omit<Twt, "content" | "created" | "url">>;
export default function hashTwt(twt: HashableTwt, version?: number): string;