Package Exports
- ip-check-range
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ip-check-range) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ip-check-range
Allowing you to check request IP or anyother IP for Range Matches.
Install
npm install ip-check-range --save
Usage
var IPCheckRange = require('ip-check-rage');
IPCheckRange('192.168.34.253', ['192.168.0.1', '192.168.0-78.253']); //= true
IPCheckRange('192.198.34.1', ['192.168-255.34.1', '192.168.0-78,253']); //= true
IPCheckRange('192.13.134.223', ['192.*.*.*', '192.168.*,*']); //= true
IPCheckRange('192.16.0.124', ['192.168.0.1-178', '192.168.0-78,253']); //= false
IPCheckRange('192.168.34.76', ['192.168.0.1', '192.168.0-78.23-253']); //= trueContributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. But before doing anything, please read the CONTRIBUTING.md guidelines.
