this is delivering output in Browser, I think, though not tried this can be used to render output in the browser through HTTP responses when using node.
But is it possible to completely use such node APIs in CMD/GitBash/Console, even the output such as pixelated images should deliver in CMD or console w/o the need for a browser.
I mean, you can certainly have node output image data into a file, which you then open in a file explorer or whatever. The console itself is incapable of showing pictures, not because of Node, but because Console is a text medium.
also as far I have experienced nodeJS canβt interpret dom things such as: document.getElementById and the script is using the same this may generate error in terminal.