1.0.2 • Published 6 years ago
hacker-news-top-ten v1.0.2
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)
)