1.2.2 • Published 4 years ago

log-img v1.2.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

result

This package help you to console.log image into your console or print out an image file into terminal cli


✨ Installation

log-img can be install be installed by command:

npm i log-img

But we highly recommend using it as a global package, so you can use cli command everywhere and making sure that this package does not occupy your project hardware:

npm i -g log-img

🚀 Usage

Using as cli

log-img lenna.jpg
log-img https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png
log-img https://source.unsplash.com/random

Using as package

const logImg = require('log-img');

console.log('this is image:');
logImg(Blob_Base64_Path2File_anyJimpLibCanRead);

log-img can log any thing that Jimp lib support. Such as path to a file, URL, dimensions, ...

Go to Jimp?


1.2.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.0.0

4 years ago