finds.dev← search

// the find

thorning/node-mailchimp

★ 286 · JavaScript · MIT · updated Apr 2024

node mailchimp wrapper using v3 of the mailchimp api

A thin wrapper around Mailchimp's v3 REST API that handles request formatting, batch operations, and result unpacking. It's for Node.js projects that need to talk to Mailchimp without hand-rolling HTTP calls. The entire library is a single index.js file.

The batch API abstraction is genuinely useful — polling, waiting, and unpacking results in one call saves real boilerplate. Path parameter interpolation (passing '/campaigns/{campaign_id}' with path_params) mirrors Mailchimp's own docs, so you can copy paths directly. Supports both callbacks and promises, which matters if you're maintaining older Node code. TypeScript definitions are included.

Last touched April 2024 but hasn't had a meaningful commit in years — Mailchimp's API has moved on and the library has no plans to track it. The test suite is a single file with minimal coverage; there's nothing testing the batch polling logic, which is the most failure-prone code path. No TypeScript source, just a handwritten .d.ts file that may drift. If you're starting a new project, the official @mailchimp/mailchimp_marketing SDK has replaced community wrappers like this one.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →