Skip to contentpackage
yosay
v1.2.0Tell Yeoman what to say
node >=0.10.010 depscjsopen source
- license
- BSD-2-Clause
- deps
- 10
- unpacked
- Unknown
- files
- Unknown
- node
- >=0.10.0
$npm install yosay@1.2.0 README
GitHub-flavored package documentation.
downloads
Across all versions.
Download trend unavailable.
compatibility
Runtime metadata.
keywords
Tagged topics.
cli-appclibinyeomanyocowsaysayboxmessageansi
install size
Estimated unpacked size across 11 packages.
563.2 kB
Includes dependencies.
dependencies
9 direct · 6 outdated
versions
Latest published Oct 27, 2023
contents
yosay
Tell Yeoman what to say
Like cowsay, but less cow.

Install
Usage
'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.
CLI
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 `
Feb 13, 2017
maintainers
Registry package owners.