You can download a web page in TypeScript using Node.js and the node-fetch library.
node-fetch
To get started, install a library like node-html-parser.
node-html-parser
In TypeScript, you’d typically use the Fetch API to send HTTP requests.
Once upon a time, before OAuth and JWTs swarmed the scene, basic auth was the go-to.