title: automatic mimetypes in javascript node.js
body: <p>I'm uploading files to aws s3 in javascript, and AFAIK they all need a mimetype to function correctly. Is there a script that automatically maps filenames to mimetypes that I could use?</p>
  
  <p>Edit: If there's a way for amazon to automatically handle the mimetypes that would be better.</p>