file-type-cli
v6.0.0
Published
Detect the file type of a file or stdin
Downloads
65
Readme
file-type-cli
Detect the file type of a file or stdin
Install
npm install --global file-type-cli
Usage
$ file-type --help
Usage
$ file-type <filename>
$ file-type < <filename>
Example
$ file-type unicorn.png
png
image/png
Related
- file-type - API for this module