Node.js API Wrapper for HackerNews
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Node.js Wrapper API for HackerNews



  • Install this module using npm install scraper

How to use

Gather the posts from the front page OR

Gather the posts from the desired page OR Where # is the desired page number

  • A pure JSON implementation of the front page information will be returned. If you access this using a web browser, it will ask you to download a file containing the JSON. If using this option, you will notice that the JSON is prettified using JSON.stringify using tabs.

At the moment, you can get the:

  • Rank
  • Title
  • Link URL
  • Points
  • User
  • User Profile URL
  • Posted Time
  • Number of comments
  • Comment URL

About me

Email me:

Follow me: @Aaron_Foltz

Visit me: Aaron Foltz