hacker-news-top-ten

1.0.2 • Public • Published

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)
)

Readme

Keywords

none

Package Sidebar

Install

npm i hacker-news-top-ten

Weekly Downloads

0

Version

1.0.2

License

MIT

Last publish

Collaborators

  • leon.pearce