Open a browser from Editor extension

I am working on a editor extension and want to open url in a browser.
how to achieve this?

Look up the doc of Electron to see how to do it.

Thanks for your reply @mr.kylin

I am doing in that way only, but for that i have add to electron node module.
i was wondering is editor api provide any function to achieve this or any way can call electron module function through editor api without importing electron node module.