title: Using DDP in a Chrome extension
body: <p>In the Chrome extension I am building, I would like to connect to a Meteor server from the extensions popup window, for user registration, login and </p>
  
  <p>I've found a brief explanation from <a href="http://blog.thebakery.io/meteor-spotting-building-a-chrome-extension-using-meteor/" rel="nofollow">Meteor Spotting</a> from 2014 that indicates that it is possible to do this using ddp.js, but the project it describes appears to have disappeared.</p>
  
  <p>The current version of <a href="https://github.com/mondora/ddp.js" rel="nofollow">ddp.js</a> uses <code>import</code> statements, which Chrome objects to. My understanding is that these scripts are designed for Node.js. How should I edit these scripts so that they can be used in a Chrome extension as described in the Meteor Spotting article?</p>
  
  <p>Alternatively, is there any example of a bare-bones Chrome extension which connects with a bare-bones Meteor server via DPP, that I can use for inspiration?</p>