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.
inhabited
Advanced tools
Readme
inhabited
is a tiny library for Node.JS to determine whether a location may
be inhabited or not. It is used in http://forecast.io/
to quickly short-circuit geocoding queries (which are expensive) for locations
far from human habitation. (In such cases, Forecast labels those locations
"Middle of Nowhere." Go ahead and try it: open up Forecast via the link above,
and then click and drag the location marker on the globe into the middle of the
ocean.)
The inhabited
module is a single function, which takes a latitude, longitude,
and callback function as arguments. That callback function will be called with
two arguments: an optional error and a boolean. That boolean will be "true" if
the location specified may be inhabited, and will be "false" if the location is
definitely not inhabited.
var inhabited = require("inhabited");
// <40.7144, -74.0060> happens to be in New York City.
console.log(inhabited(40.7144, -74.0060)); // prints "true"
// <-29.5065, -136.5820> happens to be in the middle of the South Pacific.
console.log(inhabited(-29.5065, -136.5820)); // prints "false"
To the extend possible by law, The Dark Sky Company, LLC has waived all copyright and related or neighboring rights to this library.
FAQs
quickly determine if a lat/lon may be inhabited or not
The npm package inhabited receives a total of 6 weekly downloads. As such, inhabited popularity was classified as not popular.
We found that inhabited demonstrated a not healthy version release cadence and project activity because the last version was released 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.