Npm Module for parsing events from inbound webhooks for Mandrill
npm install mandrill-webhook-event-parsermandrill-webhook-event-parser
=========
Npm Module for parsing events from inbound webhooks for Mandrill
bash
$ npm install mandrill-webhook-event-parser --save
`
Usage
`javascript
var parser = require('mandrill-webhook-event-parser');
app.use(parser());
`
The parser expects there the Mandrill events to have been urldecoded and stored at `req.body.mandrill_events`. It will parse and store them at `req.mandrillEvents` for further processing.
Tests
`bash
$ npm test
``
mandrill-webhook-event-parser is Copyright 2016 Aodhagán Collins. All Rights Reserved.
Distributed under MIT License.