1.0.0 • Published 8 years ago

image-to-console v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

image-to-console

Convert an image to console.log messages.

For example, the Windows XP background:

Screen shot

Nice to add an easter egg for people snooping around.

Usage

Install

npm i image-to-console -g

Usage

image-to-console <inputfile> --cols 50 -o <output.js>

Cols is optional and defaults to 40. If outputfile is ommited the result will be printed to your terminal.

Disclaimer

I hacked this together during 5 bored minutes. Use at your own risk ;)