Automatic software detection
The instance's software is resolved via .well-known/nodeinfo and the matching provider (Lemmy v0, Lemmy v1, PieFed) is selected. Results are cached per hostname.
One API for Lemmy and PieFed, with runtime-validated responses and fakes for consumer test suites.

pnpm i threadiverseimport { 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.