mailchimp-lite
A lightweight wrapper for Mailchimp's v2 and v3 apis.
npm i mailchimp-lite --save
Usage
let Mailchimp = ; let mailchimp = key: processenvMAILCHIMP_API_KEY datacenter: MAILCHIMP_DATACENTER; // get details on a listmailchimp ; // delete a listmailchimp ; // use the v2 api to batch-subscribe (currently not available in V3 api)return mailchimpv2
Error Handling
Responses with a non 200-300 status will reject with an Error object. The error has a response
which is the response object from request.
mailchimp ;
Contributing
After cloning this repository:
npm i
# run the tests
npm t