An open API service indexing awesome lists of open source software.

https://github.com/joaocarvalhowd/finducep.js

🕵️ The easy way to find the info about your CEP.
https://github.com/joaocarvalhowd/finducep.js

cep

Last synced: 9 months ago
JSON representation

🕵️ The easy way to find the info about your CEP.

Awesome Lists containing this project

README

          

# finducep.js
🕵 The easy way to find the info about your CEP.

## Install

You can install this package either with `npm` or with `bower`.

### npm

```shell
npm install finducep.js --save
```

Then add the `` to your `index.html`:

```html
<script src="/node_modules/finducep.js/dist/finducep.min.js">
```

### bower

```shell
bower install finducep.js
```

Then add a `` to your `index.html`:

```html
<script src="/bower_components/finducep.js/dist/finducep.min.js">
```

## Example

```js

const cep = 05022001;
const finducep = new FindUCep();

finducep.find(cep)
.then(response => console.log(response))
.catch(error => console.log(error))

```