Anyone have recommendation to get mimetypes of file

Hi, I have been trying to find library for getting mimetypes from file but I can not find one that is easiest to implement with expo. Anyone has used any before? I need it for uploading file to server (filetype in form data). Thanks for anyone helping.