Last active
          October 25, 2018 10:55 
        
      - 
      
 - 
        
Save andreasoby/44d7366afec3bfae7033d1c998f8bc7e to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or 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
    
  
  
    
  | geoip2.city( | |
| function(location) { | |
| console.log(location.country); | |
| }, | |
| function(error) { | |
| console.log("Error:\n\n" + JSON.stringify(error, undefined, 4) ); | |
| } | |
| ); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment