
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Itzam provides tools for seamlessly integrating AI into your applications. With Itzam, you can manage AI workflows without mixing AI logic into your business code, allowing both technical and non-technical team members to control AI features through a simple dashboard interface.
npm install itzam
# or
yarn add itzam
# or
pnpm add itzam
import { Itzam } from "itzam";
// Initialize the client
const itzam = new Itzam("your-api-key");
// Or with custom base URL
const itzam = new Itzam("your-api-key", {
basePath: "https://your-custom-api-url.com"
});
// Use your workflow
const response = await itzam.generateText({
input: "Your input text here",
workflowSlug: "your-workflow-slug",
});
console.log(response.output);
Send files, images, and documents with your requests:
// With base64 data
const response = await itzam.generateText({
input: "What do you see in this image?",
workflowSlug: "vision-workflow",
attachments: [
{
file: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==",
mimeType: "image/png"
}
]
});
// With URLs
const response2 = await itzam.generateText({
input: "Analyze this document",
workflowSlug: "document-analysis",
attachments: [
{
file: "https://example.com/document.pdf",
mimeType: "application/pdf"
}
]
});
// With File objects (automatically converted to base64)
const fileInput = document.getElementById('fileInput') as HTMLInputElement;
const file = fileInput.files?.[0];
if (file) {
const response3 = await itzam.generateText({
input: "Process this file",
workflowSlug: "file-processor",
attachments: [
{
file: file, // SDK handles conversion automatically
mimeType: file.type
}
]
});
}
The Itzam SDK can be configured with the following options:
const itzam = new Itzam("your-api-key", {
basePath: "https://your-custom-api-url.com" // Optional: Custom API base URL
});
basePath (optional): Custom base URL for the API. Defaults to the NEXT_PUBLIC_APP_URL environment variable if not provided.Here's how to create an AI-powered support chat using Itzam:
Dashboard Setup
Code Integration
import { Itzam } from "itzam";
const itzam = new Itzam("your-api-key");
// Handle user messages
const handleUserMessage = async (userInput: string) => {
const response = await itzam.generateText({
input: userInput,
workflowSlug: "support-chat",
});
return response.output;
};
For detailed documentation, visit our official documentation.
FAQs
Itzam SDK
We found that itzam demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.