node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

news-text

news-text

Retrieve the article text from several news sites using either the article module or Diffbot (if a Diffbot key is specified).

var simple =  new require('news-text').Simple();
 
simple.reutersUsNews(function (err, articles) {
  articles.forEach(function (article) {
    console.log(article);
  });
});

Google News is searchable:

var googleNews = new require('news-text').GoogleNews();
 
googleNews.searchArticles('taylor swift', function (err, articles) {
  articles.forEach(function (article) {
    console.log(article);
  });
});