image-to-console

Converts an image to console.log messages.

Usage no npm install needed!

<script type="module">
  import imageToConsole from 'https://cdn.skypack.dev/image-to-console';
</script>

README

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 ;)