title: How to use socket.io browserify?
body: <p>How do I use socket.io with browserify?</p>
  
  <p>When socket.io is installed in a node app, it creates this url path for ths socket.io script:</p>
  
  <p>/socket.io/socket.io.js</p>
  
  <p>But what would be the real path of that file (relative to the node_modules dir) which needs to be passed to browserify?</p>
  
  <p>Is it e.g.</p>
  
  <p>socket.io-client/socket.io.js</p>
  
  <p>or maybe</p>
  
  <p>socket.io/lib/client.js</p>
  
  <p>In the documentation of socket.io-client it says "Socket.IO is compatible with browserify." But they don't say how.</p>