
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
google-news
Advanced tools
JavaScript API for querying Google News, written in CoffeeScript. Â
Â
GoogleNews = require('google-news')
googleNews = new GoogleNews()
track = 'Volvo'
googleNews.stream track, (stream) ->
stream.on GoogleNews.DATA, (data) ->
console.log 'Data Event received... '+ data.title
stream.on GoogleNews.ERROR, (error) ->
console.log 'Error Event received... '+ error
var GoogleNews, googleNews, track;
GoogleNews = require('google-news');
googleNews = new GoogleNews();
track = 'Volvo';
googleNews.stream(track, function(stream) {
stream.on(GoogleNews.DATA, function(data) {
return console.log('Data Event received... ' + data.title);
});
stream.on(GoogleNews.ERROR, function(error) {
return console.log('Error Event received... ' + error);
});
});
Peter Andreas Moelgaard (GitHub, Twitter)
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
FAQs
JavaScript API for querying Google News
We found that google-news 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.