Filetypes is a library that helps you guess the file and mine types of files using magic numbers
Node M-Pesa Library