archive-type-cli

2.1.0 • Public • Published

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

Package Sidebar

Install

npm i archive-type-cli

Weekly Downloads

1

Version

2.1.0

License

MIT

Last publish

Collaborators

  • kevva
  • sindresorhus