Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansi-img

Best and lightest npm to transform image in ansi caracters

Installation

npm i ansi-img
// other option
yarn add ansi-img

Example:



Functions

Usage

import { imgFileToAnsi, imgBufferToAnsi } from 'ansi-img';

imgFileToAnsi('./image.jpg').then(console.log); //Log an image file in terminal

imgBufferToAnsi(buffer).then(console.log); //Log an image from buffer to terminal

MADE WITH ❤ BY Markox36


About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages