node-iterm2-image
Node.js bindings to display images in iTerm2 (nightly builds only).
Install
npm install iterm2-image
Usage
var drawInIterm = ;
Load (and display) an image from a filepath:
Easy, huh? Now using streams:
var http = ; var img = 'http://your/image'; http;
TODO
- Parametrize output stream.
- Return something meaningful in callback.
Credits
Inspired by iTerm2 Site image documentation section and Python Bindings.
Nyan Cat image obtained from here.