npm install request
npm install cheerio
This module is used to scrap the headings of hackernews website
npm i hackernews_scraper
After installion import this i.e require it in your project as given below:-
var hackernews_scraper = require('hackernews_scraper')
or to run:-
fork and clone
then node scraper.js