npm i @consolejs/console.image
import '@consolejs/console.image';
console.image('https://www.img.com/image.png');
// or
import consoleImage form '@consolejs/console.image';
consoleImage('https://www.img.com/image.png');
console.image with width
console.image('https://www.img.com/image.png', { width: 100 })
- .png
- .jpg
- .svg
- .jpeg
- .gif
Enjoy !