file-type-validator
1.0.2 • Public • Published
A package to check if the file extension is same as its mime type or not
Use promise .then method to access the result
Eg. isFileValid(file)
.then((res) => {
/*
Do your action here.
*/
})
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.2 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.2 | 0 | |
1.0.1 | 1 | |
1.0.0 | 0 | |
Package Sidebar
Install
npm i file-type-validator
Weekly Downloads