npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

term-img-cli

4.0.0

@sindresorhus

npmHomeRepoSnykSocket
Downloads:17
$ npm install term-img-cli
DailyWeeklyMonthlyYearly

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%

Related

  • term-img - API for this package
  • terminal-image-cli - Like this module but works in any terminal