Yosay

Many of us wanted to greet like Yeoman in the CLI, now it's very easy to do that!

Here is yosay just like cowsay, but less cow. Tell yeoman what to say or talk like yeoman!

Get yosay like an other node module: npm install -g yosay

Example usage:

1
2
3
4
5
6
7
8
9
10
11
12

$ echo "Yo! Mama. You can pipe." | yosay

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |  Yo! Mama. You can pipe. |
   `---------´   '--------------------------'
    ( _´U`_ )    
    /___A___\    
     |  ~  |     
   __'.___.'__   
 ´   `  |° ´ Y ` 
1
2
3
4
5
6
7
8
9
10
11
$ yosay "Node module of the week"

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |  Node module of the week |
   `---------´   '--------------------------'
    ( _´U`_ )
    /___A___\ 
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `
1
2
3
4
5
6
7
8
9
10
11
$ yosay "Yo! How's it going" --maxLength 4

     _-----_
    |       |    .------.
    |--(o)--|    |  Yo! |
   `---------´   | How's |
    ( _´U`_ )    |  it  |
    /___A___\    | going |
     |  ~  |     '------'
   __'.___.'__
 ´   `  |° ´ Y `

If you want to use it in you node script, you could do:

1
2
3
4
5
6
7
8
9
10
11
12
13
 var yosay = require('yosay');

 console.log( yosay("Hope you enjoyed the session :)") );

      _-----_
    |       |    .--------------------------.
    |--(o)--|    |   Hope you enjoyed the   |
   `---------´   |        session :)        |
    ( _´U`_ )    '--------------------------'
    /___A___\ 
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

GIF FTW!:

yosay

Enjoy talking like the Yeoman! :)

Suggest a module

Comments