We start with the basics.
Here is a refresher -
-
You start with
npm init
. That creates apackage.json
file. -
After that, you can install multiple modules as per your need. For scraping, we are using
request
andcheerio
. So you runnpm install --save request cheerio
The
--save
flag adds the modules to yourpackage.json
file for future use.