@anzerr/file.type
v1.0.10
Published
get mime type for a file using 'minetype' and 'file' with a fallback if not present
Downloads
30
Readme
Intro
get mime type for a file using 'minetype' and 'file' with a fallback if not present
Install
npm install --save git+https://[email protected]/anzerr/file.type.git
Example
const fileType = require('file.type');
fileType('./README.md').then((res) => {
console.log(res);
})