pacote npm para baixar HTML de paginas.
Execute:
npm i down-pag
ou
npm i https://github.com/DiogoFalqueto/down-pag
const downloadHtmlPag = require("down-pag")
const nameFile = "google.html"
const url = "https://www.google.com"
const download = downloadHtmlPag.download(nameFile, url)
download.then(function(){
console.log("Download file!")
})