Skip to content

vladimyr/slashdot-api-client

Repository files navigation

slashdot-api-client

build status install size npm package version github license js semistandard style

Slashdot API client for node

Installation

$ npm i slashdot-api-client

Usage

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

About

Slashdot API client for node

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published