Slashdot API client for node
$ npm i slashdot-api-client
const slashdot = require('slashdot-api-client');
// Fetch latest stories
slashdot.fetchStories()
.then(stories => {
stories.map((it, i) => console.log('[%d] %s', i + 1, it.title));
});
//=> [1] LSD Changes Something About the Way People Perceive Time, Even At Microdoses
//=> [2] Facebook Is Shutting Down Moments
//=> [3] The Apple Mac Turns 35 Years Old
//=> ...
//=> [50] US Patent Operations May Shut Down In Second Week of February