I'd like to use online working scripts on my local client, but can't find a way to make it working.
For example, let's take this script:
https://bscscan.com/jss/EVM.js?v=21.8.4.1
I can unminify it, but it has window variable that is only for browser.
How can I convert it to run in nodejs?