kevva / archive-type-cli

Detect the archive type of a file or stdin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

archive-type-cli Build Status

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

License

MIT © Kevin Mårtensson

About

Detect the archive type of a file or stdin

License:MIT License


Languages

Language:JavaScript 100.0%