
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
A tiny NPM module for looking up coordinates from an address. Relies on the Google Maps web API. You will need to get a key here. The only dependency is the native https module for making the request.
Import it into your project:
const gcoords = require("gcoords");
Initialize with an API key:
gcoords.init(<YOUR_API_KEY>);
Lookup location's coordinates:
gcoords.getCoords("Rome, Italy").then((result) => {
console.log(result);
});
Lookup coordinates' address:
gcoords.getLocation(["40.714224","-73.961452"]).then((result) => {
console.log(result);
});
Both functions support a second parameter - the data format. If left blank, the default is json. Some examples:
gcoords.getLocation(["40.714224","-73.961452"],"json").then((result) => {
//Will return JSON
});
gcoords.getLocation(["40.714224","-73.961452"]).then((result) => {
//Will also return JSON
});
gcoords.getLocation(["40.714224","-73.961452"],"xml").then((result) => {
//XML because why not...
});
FAQs
NPM module to look up a city's coordinates and vice versa
The npm package gcoords receives a total of 2 weekly downloads. As such, gcoords popularity was classified as not popular.
We found that gcoords 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.