1.0.0 • Published 5 months ago
country-details v1.0.0
country-details
A ReactJS hook to get the country information.
🫶 Support
Liked it? You can show your support with a STAR(⭐).
Sponsor My Work
I am senior software engineer. You can support me further by sponsoring me on GitHub.
How to use it?
You can use the project in this way:
Install
# with npm
npm install country-details
# with yarn
yarn add country-details
Usage
- Import the package in your app:
import { useCountry } from 'country-details'
- Get the country information from the hook:
const {loading, error, country} = useCountry('Bangladesh')'
1.0.0
5 months ago