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
=========================================================================================================
A ReactJS hook to get the country information.
You can use the project in this way:
# with npm
npm install universal-country-catalog
# with yarn
yarn universal-country-catalog
- 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')'