Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BrasilAPI/BrasilAPI
/ updateOpenCep
Function
updateOpenCep
services/cep/cep.js:33–37 ·
view source on GitHub ↗
(cep)
Source
from the content-addressed store, hash-verified
31
}
32
33
async
function
updateOpenCep(cep) {
34
await
axios.get(`https:
//update.opencep.com/${cep}`, {
35
timeout: DEFAULT_TIMEOUT,
36
});
37
}
38
39
class
CepPromiseError extends Error {
40
constructor({ message,
type
, errors } = {}) {
Callers
1
fetchCep
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected