- Notifications
You must be signed in to change notification settings - Fork40
yeoman/yosay
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Tell Yeoman what to say
Likecowsay, but less cow.
npm install yosay
importyosayfrom'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 withchalk
before passing it toyosay
.
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 `
About
Tell Yeoman what to say
Resources
License
Code of conduct
Security policy
Stars
Watchers
Forks
Packages0
No packages published