package
Tell Yeoman what to say
npm install yosayGitHub-flavored package documentation.
Across all versions, last 30 days.
2,219,703 in 30 days
Runtime metadata.
Tagged topics.
Tell Yeoman what to say
Like cowsay, but less cow.

npm install yosayimport yosay from 'yosay';
console.log(yosay('Hello, and welcome to my fantastic generator full of whimsy and bubble gum!'));
/*
_-----_ ╭──────────────────────────╮
| | │ Hello, and welcome to my │
|--(o)--| │ fantastic generator full │
`---------´ │ of whimsy and bubble │
( _´U`_ ) │ gum! │
/___A___\ /╰──────────────────────────╯
| ~ |
__'.___.'__
´ ` |° ´ 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 `Estimated unpacked size across 11 packages.
563.2 kB
Includes dependencies.
mischah
mail@michael-kuehnel.de
^5.3.0
6.0.1
^3.0.0
4.0.1
^8.1.0
10.0.2
^6.0.1
6.6.0
^7.1.0
7.2.0
^6.2.1
7.0.0
^6.1.0
9.0.0
0.0.1
0.0.1