I have test.sh :
#!/usr/bin/env bash ip=$(curl ipinfo.io/city) echo "My public IP address is: $ip" My public IP address is: London
or how to execute shell scripts in MeteorJS in general so that I can return result back from shell command,
Secondly how to mock geolocation so how to provide mock physical location for testing?
frameworks like Mocha, Jasmine, Vow etc are able to provide mock geolocations?
I see this package
But just wondering how to use ipinfo.io with mock-geolocation as it doesn’t seem to allow Lat, Lon input?