How to make a electron app to Apple Scriptable


#1

I want to make my app could listen and handle Apple Event which send from an apple script.
How to impl. that?