
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.
capitals-coordinates
Advanced tools
List of GPS coordinates of capital cities of world taken from tripmondo.com
const coordinates = require('capitals-coordinates').rawData;
coordinates is array of GeoJSON objects sorted by country name in English. Example GeoJSON object:
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [
31.05,
-17.83
]
},
"properties": {
"capital": "Harare",
"country": "Zimbabwe",
"continent": "africa"
}
}
Possible values for continent: ['north-america', 'oceania', 'south-america', 'europe', 'asia', 'africa'].
const countries = require('capitals-coordinates')
.findByCountryMatch(/and/i); // array of GeoJSON with `properties`
const africanCountries = require('capitals-coordinates')
.findByContinent('africa');
Method .eu28() return list of EU countries (updated: December 2016).
We use this module to discover countries supported by various API - eg. we are working application working with AwesomeHotelBookings . They claim to provide hotel booking "Europe-wide", though they lie - they don't provide such services in Norway, so we won't advertise app in Norway.
FAQs
List of GPS coordinates of capital cities of world taken from tripmondo.com
We found that capitals-coordinates 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.