Skip to content

Instantly share code, notes, and snippets.

@subfuzion
Last active January 1, 2016 06:09
Show Gist options
  • Save subfuzion/8103466 to your computer and use it in GitHub Desktop.
Save subfuzion/8103466 to your computer and use it in GitHub Desktop.
Use mandrill-api-node with npm

According the Mandrill's docs (http://help.mandrill.com/entries/21738166-API-Wrappers), mandrill-api-node is the official node client. It's not available on npm, only BitBucket:

npm install git+https://bitbucket.org/mailchimp/mandrill-api-node.git --save

However, there is also a third party wrapper they list on the above-mentioned page and also provide an example for (https://mandrillapp.com/api/docs/index.nodejs.html). This can be installed as follows:

npm install mandrill-api --save

Update

https://npmjs.org/package/mandrill-api

npm install mandrill-api

mandrill-api IS in fact the official API. Mandrill has updated their docs and tweeted to confirm this (https://twitter.com/mandrillapp/status/415227384699170816).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment