Cornerstone in electron js

can we use Cornerstone modules in electronJS, Which is a desktop application uses javacript & HTML.

Cornerstone (old one) works fine for me with electron.

But I don’t recommend cornerstone3D for now, I had counterless problems with it in electron.