Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@bcredi/postalcode
Advanced tools
A JavaScript library to interface with Postal Code API.
This library covers all your needs for integrating with Postal Code API, providing:
yarn add @bcredi/postalcode --save
Import like usual:
import postalcode from '@bcredi/postalcode';
postalcode('81050200').then(console.log);
// "data": {
// "abbreviation": "R Pedro Gusso",
// "city": "Curitiba",
// "complement": "- até 1384/1385",
// "name": "Pedro Gusso",
// "neighborhood": "Novo Mundo",
// "postal_code": 81050200,
// "state": "PR",
// "type": "Rua"
// }
You can also use the latest release from our CDN and import the build directly in your HTML:
<script src="http://cdn.jsdelivr.net/npm/@bcredi/postalcode@latest" />
The library will be available as the global variable postalcode
.
To build the library, use npm dev
.
To run the library tests, use npm test
.
We use SemVer for versioning. For the versions available, see the tags on this repository.
The MIT License (MIT)
Copyright (c) 2019 Bcredi Serviços de Crédito e Cobrança S.A.
FAQs
A JavaScript library to interface with postal code API
The npm package @bcredi/postalcode receives a total of 8 weekly downloads. As such, @bcredi/postalcode popularity was classified as not popular.
We found that @bcredi/postalcode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.