Jsdom
Table of Contents
About
jsdom is a headless browser implemented completely in JS above node.
It simulates a DOM environment as if you were in the browser. Every DOM API function can be called / observed in a same way that in browser
jsdom does not have the capability to render visual content.
USe JsDOm
Installation
yarn add jsdom
yarn add @types/jsdom