How to use chrome.* API, to solve the problem in electron

I know that chrome.* API, can be used directly in nw.js. I don"t know how to call it in electron?

Mar.22,2021
Menu