Get the information of the states and cities of Brazil.
npm install state-city-brazilGet the information of the states and cities of Brazil.
``bash`
yarn add state-city-brazil
`bash`
npm install --save state-city-brazil
| Method | Params | Description |
| ---------------- | ------ | :-----------------------------: |
| getStates | - | returns all states of brazil |
| getStatesByCity | string | returns all states by city name |
| getCitiesByState | string | returns all cities in a state |
`js
var state_city_brazil = require('state_city_brazil');
console.log(state_city_brazil.getStates());
`
`js
import {
getCitiesByState,
getStates,
getStatesByCity,
} from 'state_city_brazil';
console.log(getStates());
``
Feel free to contribute to this project. Just open a Pull Request.