term-img-cli

3.0.0 • Public • Published

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

Package Sidebar

Install

npm i term-img-cli

Weekly Downloads

9

Version

3.0.0

License

MIT

Unpacked Size

3.57 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus