JSPM

  • Created
  • Published
  • Downloads 67
  • Score
    100M100P100Q87016F
  • License ISC

Get all countrys, states and citys of world

Package Exports

  • country-state-city-nextjs
  • country-state-city-nextjs/cjs/index
  • country-state-city-nextjs/cjs/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (country-state-city-nextjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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

Developer

Francisco Blanco

Github franciscoblancojn

Email blancofrancisco34@gmail.com

Repositories