vtexsay
v1.0.3
Published
Tell VTEX what to say
Downloads
37
Maintainers
Readme
vtexsay
Tell VTEX what to say
Like cowsay, but less cow.
Install
$ npm install --save vtexsay
Usage
var vtexsay = require('vtexsay');
console.log(vtexsay('Hello, and welcome to my fantastic generator full of whimsy and bubble gum!'));
/*
,-²═²,
r" "% .--------------------------.
r ╥╥╥ ╦╦╦ ¼ | Hello, and welcome to my |
j ²▒▒▒ ▒▒▒` N | fantastic generator full |
╛ ²▒D ▒▒▒` j | of whimsy and bubble |
j ² ▒▒▒² ê | gum! |
¼ ²▒▒ a '--------------------------'
"w ` =^
"²─¬⌂─²²
*/
You can style your text with chalk before passing it to vtexsay
.
CLI
$ npm install --global vtexsay
$ vtexsay --help
Usage
vtexsay <string>
vtexsay <string> --maxLength 8
echo <string> | vtexsay
Example
vtexsay 'Sindre is a horse'
,-²═²,
r" "%
r ╥╥╥ ╦╦╦ ¼
j ²▒▒▒ ▒▒▒` N .--------------------------.
╛ ²▒D ▒▒▒` j | Sindre is a horse |
j ² ▒▒▒² ê '--------------------------'
¼ ²▒▒ a
"w ` =^
"²─¬⌂─²²
License
BSD license Copyright (c) Google