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.
        
         */
    })

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.20latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.20
1.0.11
1.0.00

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