Socket
Book a DemoInstallSign in
Socket

term-img-cli

Package Overview
Dependencies
Maintainers
1
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

Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
7
600%
Maintainers
1
Weekly downloads
 
Created
Source

term-img-cli Build Status

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 module
  • terminal-image-cli - Like this module but works in any terminal

License

MIT © Sindre Sorhus

Keywords

cli-app

FAQs

Package last updated on 09 Jan 2019

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