1.1.1 • Published 3 years ago
news.js v1.1.1
news.js
A npm package that fetches latest news from msn.
Installation
$ npm i news.js
Usage
const news = require("news.js");
// basic current news
news().then(response => {
console.log(response);
});
// change news topic and/or market
news({
market: "en-GB",
vertical: "sports"
}).then(response => {
console.log(response);
});