Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

file-icon-cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-icon-cli

Get the icon of a file or app as a PNG image (macOS)

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

file-icon-cli Build Status

Get the icon of a file or app as a PNG image (macOS)

Install

$ npm install --global file-icon-cli

Usage

$ file-icon --help

  Usage
    $ file-icon <app-name|bundle-id|file-path>
    $ file-icon <app-name|bundle-id|file-path> > icon.png

  Options
    --size  Size of the icon [Max: 1024]

  Examples
    $ file-icon Safari
    /tmp/86ca9400-9f34-4a64-ab24-027d80f88b46/icon.png
    $ file-icon com.apple.Safari
    /tmp/ece2b714-6c6c-4677-a57c-e0e18f7b9405/icon.png
    $ file-icon unicorn.jpg --size=512
    /tmp/c3871faa-d759-48b9-ac85-5504d712a02a/icon.png
    $ file-icon Safari > icon.png
  • file-icon - API for this module

License

MIT © Sindre Sorhus

Keywords

cli-app

FAQs

Package last updated on 27 May 2018

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