Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

popcorn-cep

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popcorn-cep

library to abstract the zip code API from Brazil

  • 0.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

popcorn-cep

Installation

$ npm install popcorn-cep --save

How to use

ES6

// to import a specific method
import { location } from 'popcorn-cep';
// using  method
location({ cep: '12345-150' });

Methods

Follow the methods that the library provides.

location({ cep, query })

Method that fetches information for a street through zip code or searches for information about a street through the State, City and part of the street name.

Arguments

ArgumentType
cepstring
queryobject

Example

const data = local({ cep: '12345-150' });
const data = local({ query: { uf: 'MG', city: 'Belo Horizonte': street: 'pampulha' } });

Contributing

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

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

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

FAQs

Package last updated on 16 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc