@mailerlite/mailerlite-nodejs
v1.3.1
Published
MailerLite Node.js SDK
Downloads
25,699
Maintainers
Readme
Installation
npm install @mailerlite/mailerlite-nodejs
Usage
// For ECMAScript (ESM)
import MailerLite from '@mailerlite/mailerlite-nodejs';
const mailerlite = new MailerLite({
api_key: "API_KEY"
});
// For CommonJS (CJS)
const MailerLite = require('@mailerlite/mailerlite-nodejs').default;
const mailerlite = new MailerLite({
api_key: "API_KEY"
});