title: Api/library for html to mobi/epub conversion
body: <p>I am looking forward to an api that can convert html to mobi/epub format and can do a job really well.</p>
  
  <p>My preference is JavaScript but any suggestions for java/perl or some other language api (which does a good job) are greatly welcome.</p>