0.1.1 • Published 4 months ago

find-user-country v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Find User Country

Find your user country

Installation

Run this command when will be installing find-user-country package to your project.

npm install find-user-country

Usage

Basic example

import findUserCountry from 'find-user-country';

const countryCode = await findUserCountry(); // 'en'

with options

await findUserCountry({
    checkIsValidCountry: false, // check is matched user country code and countries database.
    inspect: false, // logging to your console
});
0.1.1

4 months ago

0.1.0

4 months ago