mandrill-webhook-request-validator

1.0.2 • Public • Published

mandrill-webhook-request-validator

Node Module that validates that the request is a valid incoming Mandrill request. It does not authenticate the request.

Installation

npm install mandrill-webhook-request-validator --save

Usage

var validator = require('mandrill-webhook-request-validator');
 
app.use(validator(options));

Options

var options = {
  url: 'url that the webhook is set to call',
};
  • url: url that the webhook is set to call

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-request-validator is Copyright 2016 Aodhagán Collins. All Rights Reserved.

Distributed under MIT License.

Dependents (1)

Package Sidebar

Install

npm i mandrill-webhook-request-validator

Weekly Downloads

14

Version

1.0.2

License

MIT

Last publish

Collaborators

  • aigeec