Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

file-type-cli

3.0.0 • Public • Published

file-type-cli Build Status

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

Supported file types

Related

License

MIT © Sindre Sorhus

install

npm i file-type-cli

Downloadsweekly downloads

7

version

3.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability