mandrill-webhook-event-parser
v1.0.2
Published
Npm Module for parsing events from inbound webhooks for Mandrill
Downloads
14
Readme
mandrill-webhook-event-parser
Npm Module for parsing events from inbound webhooks for Mandrill
Installation
$ npm install mandrill-webhook-event-parser --save
Usage
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
$ npm test
Links
Contributing
Add unit tests for any new or changed functionality. Lint and test your code.
Release History
Not yet released.
Legal Stuff
mandrill-webhook-event-parser is Copyright 2016 Aodhagán Collins. All Rights Reserved.
Distributed under MIT License.