archive-type-cli
v2.1.0
Published
Detect the archive type of a file or stdin
Downloads
4
Readme
archive-type-cli
Detect the archive type of a file or stdin
Install
$ npm install --global archive-type-cli
Usage
$ archive-type --help
Usage
$ archive-type <file>
$ cat <file> | archive-type
Examples
$ archive-type foo.zip
zip
$ cat foo.tar | archive-type
tar
Related
- archive-type - API for this module
- file-type-cli - Detect the file type of a file or stdin
License
MIT © Kevin Mårtensson