
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
@reasked/node
Advanced tools
The official Node.js SDK for the Reasked API - a powerful FAQ management platform.
npm install @reasked/node
yarn add @reasked/node
pnpm add @reasked/node
import { Reasked } from "@reasked/node";
const reasked = new Reasked("your-api-key");
// Get FAQ group by slug
const faqGroup = await reasked.faq.getFaqGroupBySlug("getting-started");
if (faqGroup.status === "success") {
console.log(faqGroup.data);
}
const reasked = new Reasked("your-api-key", {
timeout: 30000, // Request timeout in ms (default: 30000)
retries: 3, // Number of retries (default: 3)
debug: false, // Enable debug logging (default: false)
});
You can also configure the SDK using environment variables:
REASKED_API_KEY=your-api-key
getFaqGroupBySlug(slug, options?)Retrieve an FAQ group by its slug.
const response = await reasked.faq.getFaqGroupBySlug("getting-started", {
status: "published", // 'all' | 'draft' | 'published'
langs: ["en", "es"], // Array of language codes
});
getFaqGroupById(id, options?)Retrieve an FAQ group by its ID.
const response = await reasked.faq.getFaqGroupById("00000000-0000-0000-0000-000000000000",
status: "published",
langs: ["en"],
});
All API methods return a standardized response:
{
status: 'success' | 'error',
data?: FaqGroupData,
message?: string
}
interface FaqGroupData {
id: string;
status: "draft" | "published";
createdAt: string;
updatedAt: string;
translations: FaqGroupTranslation[];
faqs: Faq[];
}
interface Faq {
id: string;
status: "draft" | "published";
position: number;
createdAt: string;
updatedAt: string;
translations: FaqTranslation[];
}
interface FaqTranslation {
question: string;
answer: string;
lang: string;
id: string;
createdAt: string;
updatedAt: string;
}
try {
const response = await reasked.faq.getFaqGroupBySlug("non-existent");
if (response.status === "error") {
console.error("API Error:", response.message);
return;
}
// Handle success
console.log(response.data);
} catch (error) {
console.error("Network Error:", error.message);
}
The SDK is written in TypeScript and includes full type definitions:
import { Reasked, FaqGroupData, ReaskedResponse } from "@reasked/node";
const reasked = new Reasked("your-api-key");
const response: ReaskedResponse<FaqGroupData> =
await reasked.faq.getFaqGroupBySlug("getting-started");
pnpm run build
pnpm test
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by the Reasked team
FAQs
Reasked Node SDK
We found that @reasked/node demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.