mandrill-webhook-event-parser

1.0.2 • Public • Published

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

api documentation

jscs Report

jshint Report

Contributing

Use Airbnb jscs style guide.

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    8
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    8
  • 1.0.0
    0

Package Sidebar

Install

npm i mandrill-webhook-event-parser

Weekly Downloads

8

Version

1.0.2

License

MIT

Last publish

Collaborators

  • aigeec