0.1.1 • Published 1 year ago

find-user-country v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year 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

1 year ago

0.1.0

1 year ago