UNPKG

getcountry

Version:

Simple function that returns the ISO 3166-1 alpha-3 country code of the country where you are geolocated.

11 lines (8 loc) 247 B
var test = require('tape'); var getCountry = require('../dist'); test('should ignore falsy values', function (t) { console.log('coucou', getCountry.getCountry()); //var country = getCountry(); //t.equals(country, 'France'); t.end(); });