1.0.0 • Published 1 year ago

universal-country-catalog v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Universal-Country-Catalog

Countries list custom npm package

rollup - module bundler

username/ password for https://www.npmjs.com/ (used for library deployed to npm) sethuram.duraisamy sethuram.duraisamy140891@gmail.com 2**4@G@#$@#ny

after creating react hook /comp start to test in npm pack locally before deployed in registry

cmd: npm pack

once this cmd executed it will generate .tgz file(check in folder) for npm package

=========================================================================================================

universal-country-catalog

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 universal-country-catalog
# with yarn
yarn universal-country-catalog

Usage

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

1 year ago