Socket
Book a DemoInstallSign in
Socket

file-type-cli

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-type-cli

Detect the file type of a file or stdin

latest
Source
npmnpm
Version
6.0.0
Version published
Maintainers
2
Created
Source

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

Supported file types

  • file-type - API for this module

Keywords

cli-app

FAQs

Package last updated on 24 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts