Skip to content

Instantly share code, notes, and snippets.

@gelias
Created June 1, 2017 17:31
Show Gist options
  • Save gelias/3704c3ed2816a54959e23aded6135bb8 to your computer and use it in GitHub Desktop.
Save gelias/3704c3ed2816a54959e23aded6135bb8 to your computer and use it in GitHub Desktop.
// https://ip-ranges.amazonaws.com/ip-ranges.json
JSON.parse($('pre').textContent).prefixes.forEach(function(entry){ console.log(entry.ip_prefix);})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment