Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
locations api in node from www.geonames.org
npm install geode
you will need an account ~ its free #####Signup
//include
var geo = new geode('username', {language: 'en', country : 'US'})
geo.search({name :'Riverside'}, function(err, results){
console.log([err, results])
})
Heres a simple Express App throwing up an api
####Demo
The express code is just
var api = new Geode('username', {country: "US", language: 'en'});
app.get('/:collection.:format', function(req, res){
if(req.params.collection && req.params.format){
api[req.params.collection](req.query, function(err, collection){
res[req.params.format]({status : 200, results : collection});
});
}else{
res.send('404');
}
})
Make sure to install the development dependecies npm install --dev
and then run.
USER=yourusername npm test
FAQs
wrapper for www.geonames.org api
The npm package geode receives a total of 5 weekly downloads. As such, geode popularity was classified as not popular.
We found that geode 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.