iplocate
This is a simple middleware for an express App that gets the locations of every request thats hits the server. I am using freegeoip.net .
Its free service it lets you hit 10000 requests per hour for ip's location.
Installation
npm install iplocate --save
How to use
let iplocate = ; app; router; // Or use it with APP app
Tests
npm test
Issues
Create an issue if there are any bugs.
For Any Queries
Feel free to contact me via email or on my website lumous.pk