file-previewer is a lightweight JavaScript library which creates a preview of files in your browser.