UNPKG

find-user-country

Version:

Find your user country

30 lines (20 loc) 528 B
# Find User Country Find your user country ## Installation Run this command when will be installing `find-user-country` package to your project. ```shell npm install find-user-country ``` ## Usage Basic example ```js import findUserCountry from 'find-user-country'; const countryCode = await findUserCountry(); // 'en' ``` ### with options ```js await findUserCountry({ checkIsValidCountry: false, // check is matched user country code and countries database. inspect: false, // logging to your console }); ```