Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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