What about this code?

Good afternoon.
Please see the code and knowledgeable people to give him their opinion.
It is very important to me. We can say that it's personal.

The program should be a pdf file with 3 words that appear on the website often.
Code is written in typescript.
The repository https://github.com/ivashmelev/SiteTextAnalizator
March 19th 20 at 08:57
1 answer
March 19th 20 at 08:59
Solution
Not much grasp, but immediately noticeable that the code is a long sausage to be divided into functions/classes.

Find more questions by tags Node.js