Created
October 17, 2014 20:19
-
-
Save edsu/8e0f2e2d9de1df53dba5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
coffee> anon = require './anon' | |
{ address: [Function], | |
compareIps: [Function], | |
isIpInRange: [Function], | |
isIpInAnyRange: [Function], | |
ipToInt: [Function], | |
getStatus: [Function], | |
main: [Function] } | |
coffee> anon.isIpInRange('85.158.226.103', ["85.158.226.0", "85.158.226.31"]) | |
false | |
coffee> anon.isIpInRange('85.158.226.30', ["85.158.226.0", "85.158.226.31"]) | |
true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment