sendpulse-client
v4.0.3
Published

Readme
SendPulse.js
A SendPulse REST API client compatible with Node.js and browsers.
This package supports all the operations documented in the SendPulse API Documentation.
Install
Available for TypeScript, ESM, and CommonJS.
npm install sendpulse-clientUsage
ESM/TypeScript
import { SendPulseClient } from "sendpulse-client";
const client = new SendPulseClient("your-client-id", "your-client-secret");
console.log(await client.listAddressBooks());CommonJS
const SendPulseClient = require("sendpulse-client");
new SendPulseClient("your-client-id", "your-client-secret").then(addressBooks => {
console.log(addressBooks);
})