I am building a dapp on EOS, and wondered what is the best practice of communicating with the dapp browser.
For example on Ethereum I implemented the web3 library and all commands and apis were through it, by that, I wrote the code once, and it automatically triggered the relevant UI screens on the dapp browser.
Is there something similar with EOS? I don't want to write specific code for each dapp browser (Scatter, lynx, meet one etc..)