how to inject chrome api’s like chrome.runtime in electron

i have an electron app and i need to get the data at runtime, for chrome extension i used chrome.runtime. But how to get the runtime data in the electron. Is there any alternative api’s like chrome.runtime in electron or is there any other way to do it