1.0.3 • Published 6 years ago
hacker-news-top-list v1.0.3
Hackernews Top List
This library just includes one default export. Which when called will return a promise resolving to a list of articles from hackernews.
API
getArticles: (count = 30) =>
Promise<
Array<HackerNewsArticleShape>
>
Usage
import getArticles from 'hacker-news-top-list';
getArticles().then(res =>
console.log(res)
)