yosay

Tell Yeoman what to say

yosay

Tell Yeoman what to say

Like cowsay, but less cow.

$ npm install --save yosay
var yosay = require('yosay');
 
console.log(yosay('Hello, and welcome to my fantastic generator full of whimsy and bubble gum!'));
 
/*
     _-----_
    |       |    .--------------------------.
    |--(o)--|    | Hello, and welcome to my |
   `---------´   | fantastic generator full |
    ( _´U`_ )    |   of whimsy and bubble   |
    /___A___\    |           gum!           |
     |  ~  |     '--------------------------'
   __'.___.'__
 ´   `  |° ´ Y `
 */

You can style your text with chalk before passing it to yosay.

$ npm install --global yosay
$ yosay --help
 
  Usage
    yosay <string>
    yosay <string> --maxLength 8
    echo <string> | yosay
 
  Example
    yosay 'Sindre is a horse'
 
     _-----_
    |       |    .--------------------------.
    |--(o)--|    |     Sindre is a horse    |
   `---------´   '--------------------------'
    ( _´U`_ )
    /___A___\
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

BSD license Copyright (c) Google