Open window on 2nd monitor (dual screen setup)


Is there a way to get a list of monitors and their resolutions via Electron? There seems to be limited nodejs options available for a good cross platform solution. I’ve written a simple Java class that I’m using via shelljs node module but using Java really defeats the purpose of using Electron in the first place.

I’m looking to open a window on a projector which simply shows up as a second monitor.


Have you tried using the screen module for this?


Thanks for pointing out the obvious as I totally missed it!