title: Electron: renderer access to main process?
body: <p>The main process opens a connection to a service, to which a renderer requires access. </p>
  
  <p>Is this possible?</p>
  
  <p>I've tried declaring <code>global.thing</code> and <code>exports.thing</code>, and having the renderer <code>require('electron').remote.thing</code> — where thing is a function or scalar — but no luck.</p>