Skip to content

franciscoblancojn/country-state-city-nextjs

Repository files navigation

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

Developer

Francisco Blanco

Github franciscoblancojn

Email blancofrancisco34@gmail.com

Repositories