Skip to main content
The Hacker News API is publicly accessible and does not require authentication for read operations. No credentials are needed to use the Hacker News plugin. Simply install the plugin and start using it:
pnpm install @corsair-dev/hackernews
corsair.ts
import { hackernews } from "@corsair-dev/hackernews";

export const corsair = createCorsair({
    plugins: [hackernews()],
    // ...
});
For general information about how Corsair handles authentication, see Authentication.