Skip to content

hey-leon/hacker-news-top-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Fetches the top ten articles (Browser Only)

Resources

Stars

Watchers

Forks

Packages

No packages published