Mashape-Tools
Connect-style middlewares to perform security checks on your Mashape-API backend by validating HTTP-Headers and allowed Proxy-IPs. It also provides a simple service-container for Mashape-APIs
Getting Started
Install the module with: npm install mashape-tools
To use the IP-Filter download the official list of Mashape-IPs as JSON and store it within your application.
var express = app = mashape = ; // Enable IP-Filterapp; // Enable Proxy-Secret-Filterapp; // Use the Service Containerapp;// ...
Documentation
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add tests for any new or changed functionality. Lint and test your code using Grunt.
License
Copyright (c) 2014 Marco Grätsch
Licensed under the MIT license.