1.0.2 • Published 3 years ago

@brootal/brosay v1.0.2

Weekly downloads
-
License
BSD-2-Clause
Repository
-
Last release
3 years ago

brosay

Tell Bro (Brootal CLI guy) what to say

Like cowsay, but less cow. Based on Yosay from Yeoman (love you guys)

npm.io

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