GithubHelp home page GithubHelp logo

sindresorhus / term-img-cli Goto Github PK

View Code? Open in Web Editor NEW
81.0 5.0 5.0 489 KB

Display images in iTerm

License: MIT License

JavaScript 100.00%
terminal-image image cli-app nodejs npm-package iterm2

term-img-cli's Introduction

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-cli's People

Contributors

michaeldeboey avatar richienb avatar sindresorhus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

term-img-cli's Issues

Deprecation warning when installing term-img-cli in a clean project

After installing term-img-cli in a clean project, I get the following deprecation warning:

npm WARN deprecated [email protected]: cross-spawn no longer requires a build toolchain, use it instead

This warning is coming from [email protected]'s dependency iterm2-version dependency.

I've added a similar issue upstream, which is already fixed.

Can the term-img dependency be updated please?

Thanks for all your great work @sindresorhus! ๐Ÿ™‚

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.