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.
which-country-ne-10m
Advanced tools
Readme
Get ISO 3166-1 alpha-3 country code for geographic coordinates in node.js or browser.
Forked from the original which-country library, this uses Natural Earth's 10m countries database instead of the 50m one which should provide higher accuracy and support for smaller territories but at the cost of performance and size.
Powered by rbush and modified Natural Earth 10m countries dataset.
If you are interested in more general solution, try which-polygon.
npm install which-country-ne-10m
and then:
var wc = require('which-country-ne-10m');
// pass [lng, lat]
console.log(wc([37, 55])); // RUS
console.log(wc([-100, 40])); // USA
console.log(wc([40, -40])); // null, somewhere in Atlantic Ocean
#Demo
Demo with leaflet and browserify
Run tests:
npm test
Generate R-tree:
npm run generate
MIT
FAQs
Get ISO 3166-1 alpha-3 country code for geographic coordinates based on Natural Earth's 10m database
The npm package which-country-ne-10m receives a total of 46 weekly downloads. As such, which-country-ne-10m popularity was classified as not popular.
We found that which-country-ne-10m demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.