1.0.1 • Published 5 months ago

tapas-countries v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

tapas-countries

A ReactJS hook to get the country information.

How to use it?

You can use the project in this way:

Install

# with npm
npm install tapas-countries

# with yarn
yarn add tapas-countries

Usage

  • Import the package in your app:
import {useCountry} from 'tapas-countries';
  • Get the country information from the hook:
const {loading, error, country} = useCountry('Republic Of India')'
1.0.1

5 months ago

1.0.0

5 months ago