console-fun ![NPM version](https://img.shields.io/npm/v/console-fun.svg?style=flat)
Some stuff in the console: utils, printing, games and other fun
Install
$ npm install --global console-fun
CLI
$ console-fun --help
Some stuff in the console: utils, printing, games and other fun
Usage
$ console-fun
Options
--topic, -t Topic, (e.g. game, print)
--item, -i Item to be used in context of topic (e.g. hacker-types, read-file, colored-stars-watcher)
--subject Subject to be used in context of some items (e.g. filename for read-file item)
--color Color to be used in context of some items
--dimension Matrix size for grid-like games
--delay Delay value to be used for example when reading file line-by-line
Examples
$ console-fun --topic game --item stars-watcher
$ console-fun --topic game --item colored-stars-watcher
$ console-fun --topic print --item hacker-types
$ console-fun --topic print --item read-file --subject tmp/bar.txt
$ console-fun --topic print --item read-file --subject tmp/bar.txt --delay 3000
Demo
colored-stars-game
![colored-stars-game-demo](media/colored-stars-game-demo.gif)
hacker-types
Type any keys and some program text will be printed!
![hacker-types-demo](media/hacker-types-demo.gif)
read-file
Read file line-by-line
![read-file-demo](media/read-file-demo.gif)
animate-from-end
Animate from end (draw chars one by one from the end)
![animate-from-end](media/animate-from-end-demo.gif)
etc.
License
MIT © Rushan Alyautdinov