Web SDK
@feedjar/sdk-web is a small TypeScript package in feedjar_sdk_web. It mirrors iOS/Android: same /ingest/feedback endpoints, fjr_ keys, and support-email validation.
Install & build
Point your app at the local folder or workspace until the package is published to npm.
cd feedjar_sdk_web
npm install
npm run buildUse
The production API URL is embedded in the SDK — pass only your fjr_… key.
import { configure, submit, listFeedback } from "@feedjar/sdk-web";
configure("fjr_...");
await submit({
type: "feature",
message: "Keyboard shortcuts",
email: "user@example.com",
});
const { feedback } = await listFeedback({ limit: 20 });Requests send Authorization: Bearer and X-FeedJar-Key (see Feedback API).