
Illustration by @morzzz007
doge-node
simple command line doge tool. Created just for fun.
how to install?
use the following command (you can use the '-g' switch to install globally):
npm install --save-dev doge-nodehow to use?
require it as you require your favourite dependencies for example:
var d = require('./dogenode')currently there are two production ready methods to use:
suchDogeMuchAscii()which prints out a cute little doge to your standard output
iicsAhcuMegoDhcus()which prints out a cute little doge BACKWARDS to your standard output (no magic required!)
You can now pass a config object to suchDogeMuchAscii() function. The object looks like this:
{
color: 'yellowBright',
cls: true
}If you want to pass an object to iicsAhcuMegoDhcus(), the object looks like this:
{
roloc: 'yellowBright',
slc: true
}(Note that there are no default setted color, it is your terminal output color.)
For the available color options please refer to: https://github.com/medikoo/cli-color#colors .