1.0.4 ā¢ Published 7 years ago
finducep.js v1.0.4
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
npm install finducep.js --save
Then add the <script>
to your index.html
:
<script src="/node_modules/finducep.js/dist/finducep.min.js"></script>
bower
bower install finducep.js
Then add a <script>
to your index.html
:
<script src="/bower_components/finducep.js/dist/finducep.min.js"></script>
Example
const cep = 05022001;
const finducep = new FindUCep();
finducep.find(cep)
.then(response => console.log(response))
.catch(error => console.log(error))