country-state-city-nextjs
v9.1.0
Published
Get all countrys, states and citys of world
Downloads
874
Readme
country-state-city-nextjs
This is a library for get all countrys, states and citys of world.
Installing
Using npm:
npm i country-state-city-nextjs
Import
import {
load,
countryProps,
stateProps,
cityProps,
getDataCountrys,
getRuteCountryImg,
getDataStates,
getDataStatesByCountry,
getDataCitys,
getDataCitysByStateAndCountry,
} from "country-state-city-nextjs";
Use custom repository
- Download zip here
- Save Files in your repository
- Config .env with NEXT_PUBLIC_CSC=your_url_repository