title: How to get MIME-TYPE from Base 64 String?
body: <p>I am getting base64 for string from backend and i am then decoding it in Javascript to show on browser. </p>
  
  <p>This string can be any file .pdf, .img, .docx, .zip etc. </p>
  
  <p>My base64 string does not include the mime-type for example 'data:application/pdf;base64' part. So i need to get mime type of base64.</p>
  
  <p>Is there any way to solve this solution with Javascript or Jquery?</p>