
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
A simple asynchronous JavaScript client for Mappify.io
##Installation
Node.js:
npm install mappify
const mappify = require("mappify").getClient("<YOUR_API_KEY>");
The API key is optional but you'll be limited to 100 requests per day without it as per Mappify.io pricing
mappify.autocomplete("178 Wake", (err, res) => {
// Your code here
});
The response body is described in the Mappify.io API docs
You can disable prefix boosting by passing in an options argument:
mappify.autocomplete("178 Wake", {boostPrefix: false}, (err, res) => {
});
mappify.classifyCoordinates("LGA", -27.471, 153.027, (err, res) => {
// Your code here
});
The first argument is the encoding. Valid encoding values and the response structure described in the Mappify.io API docs
You can pass in a radius as the 4th argument:
mappify.classifyCoordinates("LGA", -27.471, 153.027, 500, (err, res) => {
});
mappify.geocode("16 St Georges Terrace", "6000", "Perth", "WA", (err, res) => {
// Your code here
});
Only the first argument (street address) is required, but pass in null or an empty string for arguments you don't use. Response structure described in the Mappify.io API docs
mappify.reverseGeocode(-27.471, 153.027, (err, res) => {
// Your code here
});
The response body is described in the Mappify.io API docs
You can pass in a radius as the 3rd argument:
mappify.reverseGeocode(-27.471, 153.027, 500, (err, res) => {
});
Provide the Origin and Destination as point objects:
mappify.drivingDirections({lat: -12.4317, lon: 130.8449}, {lat: -12.4668, lon: 130.8426}, (err, res) => {
// Your code here
});
You can toggle prioritiseMinimumDistance and ignoreDirectionality by providing an options object
mappify.drivingDirections({lat: -12.4317, lon: 130.8449}, {lat: -12.4668, lon: 130.8426}, {prioritiseMinimumDistance: true, ignoreDirectionality: true}, (err, res) => {
});
Response structure described in the Mappify.io API docs
Provide the Origin and Destination as point objects:
mappify.drivingStatistics({lat: -12.4317, lon: 130.8449}, {lat: -12.4668, lon: 130.8426}, (err, res) => {
// Your code here
});
You can toggle prioritiseMinimumDistance and ignoreDirectionality by providing an options object
mappify.drivingStatistics({lat: -12.4317, lon: 130.8449}, {lat: -12.4668, lon: 130.8426}, {prioritiseMinimumDistance: true, ignoreDirectionality: true}, (err, res) => {
});
Response structure described in the Mappify.io API docs
FAQs
Node.js client library for Mappify.io
We found that mappify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.