hacker-news-top-ten
v1.0.2
Published
This library just includes one default export. Which when called will return a promise resolving to the top ten articles on hackernews.
Downloads
8
Readme
Hackernews Top Ten
This library just includes one default export. Which when called will return a promise resolving to the top ten articles on hackernews.
API
getArticles: () => Promise<Array<HackerNewsArticleShape>>
Usage
import getArticles from 'hacker-news-top-ten';
getArticles().then(res =>
console.log(res)
)