Skip to content

pedrotari7/print-image-cli

Repository files navigation

print-image-cli

Tool to print inline images in supported terminals.

const printImage = require('print-image-cli');

(async () => {
  const url = 'https://picsum.photos/640/427';
  const local = './images/test.jpg';

  console.log('Remote image:', url);
  await printImage(url);

  console.log('Local images:', local);
  await printImage(local);
})();

About

Iterm print image inline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published