popcorn-ibge

Popcorn-ibge is a javascript library created to facilitate the use of the IBGE locale api.

Usage no npm install needed!

<script type="module">
  import popcornIbge from 'https://cdn.skypack.dev/popcorn-ibge';
</script>

README

Popcorn IBGE

npm

Popcorn-ibge is a javascript library created to facilitate the use of the IBGE locale api.

Installation

$ npm install popcorn-ibge --save

How to use

ES6

// to import a specific method
import { ufs } from 'popcorn-ibge';

const ibge = ufs();

Methods

Follow the methods that the library provides.

ufs()

Rewind an image by calling this method.

Example

  async function getData() {
    const ufs = await ufs();
    console.log(ufs);
  };

municipios()

Advance an image by calling this method.

Example

  async function getData() {
    const municipios = await municipios('mg');
    console.log(municipios);
  };

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

Denner Rondinely
Denner Rondinely

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details