title: How to pack 2D boxes with nodejs?
body: <p>I am developing a web app with node js and I need to use a box packing algorithm to find the optimal solution. I could try to do an algorithm myself (<a href="http://en.wikipedia.org/wiki/Packing_problems" rel="nofollow">http://en.wikipedia.org/wiki/Packing_problems</a>) but I was wondering if anything like this already exists? Any idea?</p>
  
  <p>Currently I have a array of objects that look like this. </p>
  
  <pre><code>var box = [
      {info: 'some info', width:200, height: 50},
      {info: 'some info', width:200, height: 50}
  ];
  </code></pre>
  
  <p>And I would like to have the (x,y) coordinates, to know where to pack every box into a 2D space.</p>