file-type
Detect the file type of a file, stream, or data
colorthief
Get the dominant color or color palette from an image.
magnific-popup
Lightbox and modal dialog plugin. Can display inline HTML, iframes (YouTube video, Vimeo, Google Maps), or an image gallery. Animation effects are added with CSS3 transitions. For jQuery or Zepto.