
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@nitrosend/sdk
Advanced tools
Node.js/TypeScript SDK for the Nitrosend API.
npm install @nitrosend/sdk
import { Nitrosend } from '@nitrosend/sdk';
const ns = new Nitrosend('nskey_live_...');
// Create a contact
const contact = await ns.contacts.create({
email: 'alice@example.com',
firstName: 'Alice',
});
// Fire an event
await ns.events.create({
event: 'order_confirmed',
contactEmail: 'alice@example.com',
idempotencyKey: 'order-123',
data: { orderId: 123, total: 49.99 },
});
// Send a campaign
const campaign = await ns.campaigns.create({ name: 'March Sale', channelType: 'email' });
await ns.campaigns.send(campaign.id);
| Resource | Methods |
|---|---|
ns.account | get, update |
ns.contacts | list*, get, create, update, delete |
ns.campaigns | list, get, create, update, send, delete |
ns.flows | list, get, create, update, delete, spec |
ns.templates | list, get, update, sendTest, preview, spec |
ns.events | list*, get, create, delete |
ns.domains | list*, get, create, verify, delete |
ns.brand | get, update, scrape |
ns.segments | list, get, create, update, delete, count |
ns.lists | list, get, create, update, delete |
ns.keywords | list, get, create, update, delete |
* Paginated — returns { data, pagination }.
const result = await ns.contacts.list({ page: 1, limit: 25 });
console.log(result.data); // Contact[]
console.log(result.pagination); // { page, totalPages, totalCount, nextPage, prevPage }
import { Nitrosend, ValidationError, NotFoundError } from '@nitrosend/sdk';
try {
await ns.contacts.create({ email: 'invalid' });
} catch (err) {
if (err instanceof ValidationError) {
console.log(err.validationErrors); // { email: ['is invalid'] }
} else if (err instanceof NotFoundError) {
console.log(err.message);
}
}
const ns = new Nitrosend({
apiKey: 'nskey_live_...',
baseUrl: 'https://api.nitrosend.com', // default
timeout: 30000, // ms, default
});
MIT
FAQs
Node.js/TypeScript SDK for the Nitrosend API
The npm package @nitrosend/sdk receives a total of 64 weekly downloads. As such, @nitrosend/sdk popularity was classified as not popular.
We found that @nitrosend/sdk 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.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.