Socket
Book a DemoInstallSign in
Socket

term-img-cli

Package Overview
Dependencies
Maintainers
0
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

term-img-cli

Display images in iTerm

latest
Source
npmnpm
Version
4.0.0
Version published
Weekly downloads
7
600%
Maintainers
0
Weekly downloads
 
Created
Source

term-img-cli

Display images in iTerm

Currently only supported on iTerm >=3.

Install

npm install --global term-img-cli

Usage

$ term-img --help

  Usage
    $ term-img <image>
    $ cat <image> | term-img

  Options
    --width   Width to render  [N|Npx|N%]
    --height  Height to render  [N|Npx|N%]

  Examples
    $ term-img unicorn.jpg --width=200px
    $ cat unicorn.jpg | term-img --height=50%
  • term-img - API for this package
  • terminal-image-cli - Like this module but works in any terminal

Keywords

cli-app

FAQs

Package last updated on 26 Jul 2024

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