@brootal/brosay
v1.0.2
Published
Tell Brootal Bro what to say
Downloads
14
Maintainers
Readme
brosay
Tell Bro (Brootal CLI guy) what to say
Like cowsay, but less cow. Based on Yosay from Yeoman (love you guys)
Install
$ npm install brosay
Usage
const brosay = require('brosay');
console.log(brosay('Hello my brootal friend! Let\'s make some brootal code together!'));
/*
__________ ╭──────────────────────────╮
___ _| |_ │ Hello my brootal friend! │
____|___|__| _________ | │ Let's make some brootal │
|____| |__| | ___ __L | │ code together! │
| |[ o ]-[ o ] ╰──────────────────────────╯
| __| __ | /
|__| |_________|
*/
You can style your text with chalk
before passing it to brosay
.
CLI
$ npm install --global brosay
$ brosay --help
Usage
$ brosay <string>
$ brosay <string> --maxLength 8
$ echo <string> | yosay
Example
$ brosay 'I love pony and pain!'
__________
___ _| |_
____|___|__| _________ | ╭──────────────────────────╮
|____| |__| | ___ __L | │ I love pony and pain! │
| |[ o ]-[ o ] ╰──────────────────────────╯
| __| __ | /
|__| |_________|
## License
BSD-2-Clause © Google