file-type-validator

1.0.2 • Public • Published

file-type-validator

A package to check if the file extension is same as its mime type or not

how to use

Use promise .then method to access the result

Eg. isFileValid(file) .then((res) => { /*

        Do your action here.
        
         */
    })

Readme

Keywords

none

Package Sidebar

Install

npm i file-type-validator

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

1.68 kB

Total Files

3

Last publish

Collaborators

  • pankaj6892