Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@ideal-postcodes/core-axios
Advanced tools
Changelog
Readme
Axios backed JavaScript client for api.ideal-postcodes.co.uk
@ideal-postcodes/core-axios
is the Axios backed client for api.ideal-postcodes.co.uk. Axios is a promise based HTTP client for the browser and node.js and so is ideal for:
Our JavaScript client implements a common interface defined at @ideal-postcodes/core-interface.
High level client documentation can be found at core-interface.
In depth client documentation can be found at core-interface.ideal-postcodes.dev.
npm install @ideal-postcodes/core-axios
import { Client } from "@ideal-postcodes/core-axios"
const client = new Client({ api_key: "iddqd" });
import { lookupPostcode } from "@ideal-postcodes/core-axios"
const addresses = await lookupPostcode({ client, postcode: "SW1A2AA" });
import { errors, lookupAddress } from "@ideal-postcodes/core-axios"
try {
await lookupAddress({ client, query: "10 downing street" });
} catch (error) {
if (error instanceof errors.IdpcRequestFailedError) {
// IdpcRequestFailedError indicates a 402 response code
// Possibly the key balance has been depleted
}
}
npm test
MIT
FAQs
Axios based client for api.ideal-postcodes.co.uk
The npm package @ideal-postcodes/core-axios receives a total of 2,955 weekly downloads. As such, @ideal-postcodes/core-axios popularity was classified as popular.
We found that @ideal-postcodes/core-axios demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.