Scan your whole stack
Are you using @athome-solution/feedjet?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v3.0.0-rc.2
@athome-solution/feedjet was last scanned on 1 Dec 2026 at version 3.0.0-rc.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 3.0.0-rc.2 LATEST | 1 Dec 2026 | No rules fired |
| 3.0.0-rc.1 | 1 Dec 2026 | No rules fired |
| 2.7.1 | 1 Dec 2026 | No rules fired |
| 3.0.0-rc.0 | 30 Nov 2026 | Not shown |
| 2.7.0 | 30 Nov 2026 | Not shown |
Findings for v3.0.0-rc.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 3.0.0-rc.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Widgets to collect user feedback (Feedback) and survey responses (Feedbot).
npm install @athome-solution/feedjet
TypeScript projects must use TypeScript 3.8 or later. The published type declarations rely on import type / export type syntax introduced in TS 3.8. Plain JavaScript projects have no version requirement.
Feedback
import { Feedback } from '@athome-solution/feedjet'
import '@athome-solution/feedjet/css/feedback.css'
const feedback = new Feedback({
target: document.getElementById('feedback-widget'),
projectId: '12345',
apiUrl: 'https://api.example.com',
})
Feedbot
import { Feedbot } from '@athome-solution/feedjet'
import '@athome-solution/feedjet/css/feedbot.css'
const feedbot = new Feedbot({
apiUrl: 'https://api.example.com',
surveyId: '12345',
})
document.getElementById('button').addEventListener('click', () => feedbot.increment())
import { Feedback } from '@athome-solution/feedjet'
import '@athome-solution/feedjet/css/feedback.css'
const feedback = new Feedback({
target: document.getElementById('feedback-widget'),
projectId: '12345',
apiUrl: 'https://api.example.com',
user: {
id: '1',
fullName: 'John Doe',
profile: 'Manager',
},
locale: 'en',
})
<div id="feedback-widget"></div>
<link rel="stylesheet" href="https://unpkg.com/@athome-solution/feedjet/dist/css/feedback.css">
<script src="https://unpkg.com/@athome-solution/feedjet"></script>
<div id="feedback-widget"></div>
<script>
new Feedjet.Feedback({
target: document.getElementById('feedback-widget'),
projectId: '12345',
apiUrl: 'https://api.example.com',
user: { id: '1', fullName: 'John Doe', profile: 'Manager' },
})
</script>
To attach the widget to an existing button instead of the default one, pass { feedback: HTMLElement } as target.
const feedback = new Feedback({
target: {
feedback: document.getElementById('custom-feedback-button')
},
projectId: '12345',
apiUrl: 'https://api.example.com',
})
<button id="custom-feedback-button">Give feedback</button>
interface UserType { id: string, fullName?: string, profile?: string }
type Locale = 'fr' | 'en' | 'es' | 'nl'
type Theme = 'light' | 'dark' | 'auto'
interface FeedbackOptions {
target: HTMLElement | { feedback?: HTMLElement } | null | undefined
projectId: string
apiUrl: string
user?: UserType | (() => UserType | undefined)
locale?: Locale
theme?: Theme
}
| Option | Required | Description |
|---|---|---|
target |
Yes | Host element for the widget, or { feedback: HTMLElement } to use an existing button. |
projectId |
Yes | Feedjet project identifier. |
apiUrl |
Yes | Base URL of the Feedjet API. |
user |
No | Object or function returning the current user. |
locale |
No | A value of Locales. Default: Locales.FR. |
theme |
No | 'light', 'dark', or 'auto' to follow the device's light or dark setting, live. Default: 'light'. |
import { Feedbot } from '@athome-solution/feedjet'
import '@athome-solution/feedjet/css/feedbot.css'
const feedbot = new Feedbot({
apiUrl: 'https://api.example.com',
surveyId: '12345',
user: { id: '1', fullName: 'John Doe', profile: 'Manager' },
locale: 'en',
})
document.getElementById('button').addEventListener('click', () => feedbot.increment())
<link rel="stylesheet" href="https://unpkg.com/@athome-solution/feedjet/dist/css/feedbot.css">
<script src="https://unpkg.com/@athome-solution/feedjet"></script>
<button id="button">Click Me</button>
<script>
const feedbot = new Feedjet.Feedbot({
apiUrl: 'https://api.example.com',
surveyId: '12345',
user: { id: '1', fullName: 'John Doe', profile: 'Manager' },
})
document.getElementById('button').addEventListener('click', () => feedbot.increment())
</script>
interface UserType { id: string, fullName?: string, profile?: string }
type Locale = 'fr' | 'en' | 'es' | 'nl'
type Theme = 'light' | 'dark' | 'auto'
interface FeedbotOptions {
apiUrl: string
surveyId: string
user?: UserType | (() => UserType | undefined)
locale?: Locale
theme?: Theme
}
| Option | Required | Description |
|---|---|---|
apiUrl |
Yes | Base URL of the Feedjet API. |
surveyId |
Yes | Survey identifier. |
user |
No | Object or function returning the current user. |
locale |
No | A value of Locales. Default: Locales.FR. Also picks the survey texts: when the survey is translated into this language in the back-office, the API serves them, field by field, and falls back on the default texts otherwise. |
theme |
No | 'light', 'dark', or 'auto' to follow the device's light or dark setting, live. Default: 'light'. |
Locales holds the available languages: Locales.FR, Locales.EN, Locales.ES and Locales.NL. The raw strings ('nl') are still accepted.
import { Feedback, Locales } from '@athome-solution/feedjet'
const feedback = new Feedback({
target: document.getElementById('feedback-widget'),
projectId: '12345',
apiUrl: 'https://api.example.com',
locale: Locales.NL,
})
With the CDN build, use Feedjet.Locales.NL.
messages holds the widget's own texts per language (buttons, labels, thanks screens), typed Translations. Read it to show exactly what the widget says, as the back-office preview does:
import { messages } from '@athome-solution/feedjet'
messages.en.feedbot.submit // 'Send your feedback'
To add a language, create src/locales/<code>.ts typed with Translations, then register it in Locales and messages in src/i18n.ts. For the Feedbot survey texts to be translatable into it too, add it to Survey::LOCALES in the API and SURVEY_LOCALES in the back-office survey form.
| Signature | Description |
|---|---|
new Feedback(options) |
Mounts the Feedback widget on options.target. |
new Feedbot(options) |
Instantiates the Feedbot for survey options.surveyId; the UI appears via increment(). |
feedbot.increment() |
Notifies the API of a usage, sending the widget locale; displays the widget once the survey threshold is reached. |
feedback.destroy() |
Removes the button, the modal and their listeners, and cancels pending requests. Call it when the host page or component unmounts. |
feedbot.destroy() |
Removes the widget and cancels pending requests. |
Texts coming from the API (survey questions, bubble text, feedback titles and descriptions) are rendered as plain text: HTML they contain is displayed, never interpreted.
The API protects these public endpoints without a captcha: per-IP and per-project rate limits, a hidden honeypot field and a minimum fill time (bots get a silent success). An attachment is limited to 10 MB of an image, video, document, log or archive type (the file picker lists them); HTML, SVG and scripts are refused. A rate-limited or refused submission keeps the form open with a dedicated message.
The Feedback form keeps an unsent title and description in sessionStorage, per project and user, until it is sent.
make build # dist/
pnpm playground # widgets from src/ against a mocked API
pnpm test:e2e # Playwright, on the built ESM and UMD bundles: run `make build` first
pnpm check:package # publint, attw, tarball contents and a consumer install of the packed package
pnpm exec playwright install chromium downloads the browser once. CI runs both checks on merge requests and release tags; publishing waits for them.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.