While there are npm
plugins available such as robotjs to obtain the mouse position, I have not been able to locate a similar plugin for globally retrieving the edit cursor position.
I am currently developing a desktop application for Windows using the electron framework. My goal is to display a menu or window below the edit cursor position, which could be located in any text editor.