universal-country-catalog

1.0.0 • Public • Published

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')'

Package Sidebar

Install

npm i universal-country-catalog

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

6.18 kB

Total Files

4

Last publish

Collaborators

  • sethuram.duraisamy