c-yosay
v1.0.2
Published
Tell Coherent Yeoman what to say
Downloads
2
Readme
yosay
Tell Yeoman what to say
Install
npm install c-yosay
Usage
import yosay from 'c-yosay';
console.log(yosay('Welcome to Coherent, ladies and gentlemen!'));
/*
_-----_
| | ╭──────────────────────────╮
|--(c)--| │ Welcome to Coherent, │
`----o----´ │ ladies and gentlemen! │
( _´h`_ ) ╰──────────────────────────╯
/___e___\ /
| r |
__'._e_.'__
´ ` nt ´ | `
*/
You can style your text with chalk
before passing it to yosay
.
CLI
npm install --global c-yosay
$ yosay --help
Usage
$ yosay <string>
$ yosay <string> --maxLength 8
$ echo <string> | yosay
Example
$ yosay 'Welcome to Coherent, ladies and gentlemen!'
_-----_
| | ╭──────────────────────────╮
|--(c)--| │ Welcome to Coherent, │
`----o----´ │ ladies and gentlemen! │
( _´h`_ ) ╰──────────────────────────╯
/___e___\ /
| r |
__'._e_.'__
´ ` nt ´ | `