The official JavaScript/TypeScript SDK for Foru.ms . Build powerful community features directly into your application.
This SDK is fully typed and provides a comprehensive interface to the Foru.ms API.
API reference documentation is available here .
npm i -s @foru-ms/sdkA full reference for this library is available here .
Instantiate and use the client with the following:
import { ForumClient } from "@foru-ms/sdk";
const client = new ForumClient({ apiKey: "YOUR_API_KEY" });
await client.auth.register({
username: "username",
email: "email",
password: "password"
});MIT