esakki-countries
v0.0.1
Published
This is the package to fetch the country details
Downloads
14
Readme
esakki-country
This is the package to fetch the country details
How to use it?
You can use the project in this way:
Install
# with npm
npm install esakki-countries --save-dev
# with yarn
yarn add --dev esakki-countries
Usage
- Import the package in your app:
import { useCountry } from "esakki-countries";
- Get the country information from the hook:
const {loading, error, country} = useCountry('india')'