Skip to content

threadiverseUnified typescript client for threadiverse instances

One API for Lemmy and PieFed, with runtime-validated responses and fakes for consumer test suites.

threadiverse

Install ​

sh
pnpm i threadiverse
ts
import { ThreadiverseClient } from "threadiverse";

const client = new ThreadiverseClient("https://lemmy.world");

const { data: posts } = await client.getPosts();

WARNING

Early development stage: this project is under active development and may undergo significant API changes between versions. While v0, design decisions are guided by Voyager's usage.