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
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;// ...
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.
Copyright (c) 2014 Marco Grätsch
Licensed under the MIT license.