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