file2md5 is a browser-side implementation of file conversion to md5 format based on SparkMD5, which supports typescript friendly.