br-states-cities
v1.1.1
Published
A simple lib to get all brazilian states and filtered cities by state.
Downloads
1
Readme
Getting started
npm i br-states-cities
List all states
import {getStates} from "br-states-cities";
console.log(getStates())
List cities by state initials
import {getCitiesByInitials} from "br-states-cities";
console.log(getCitiesByInitials("MG"))
List cities by state name
import {getCitiesByStateName} from "br-states-cities";
console.log(getCitiesByStateName("Minas Gerais"))