countries-details
v1.1.1
Published
This is an NPM to fetch you the country details
Downloads
3
Readme
Country-detail-Package
How to use it?
You can use the project in this way:
Install
# with npm
npm install countries-details
# with yarn
yarn add countries-details
Usage
- Import the package in your app:
import {useCountry} from 'countries-details';
- Get the country information from the hook:
const {loading, error, country} = useCountry('Republic Of India')'