foxsay
v1.0.0
Published
Tell the fox what to say
Downloads
4
Maintainers
Readme
foxsay
Tell the fox what to say
Like cowsay, but less cow.
Forked from yosay
Install
$ npm install foxsay
Usage
const foxsay = require('foxsay');
console.log(foxsay('Hello, and welcome to my fantastic generator full of whimsy and bubble gum!'));
/*
,-. .-, ╭──────────────────────────╮
|-.\ __ /.-| │ Hello, and welcome to my │
\ ` ` / │ fantastic generator full │
/ _ _ \ │ of whimsy and bubble │
| _o\ /o_ | │ gum! │
'._=/ \=_.' ╰──────────────────────────╯
{`\()/`}`\
{ } \
|{ } \
\ '--' .- \
|- / \
| | | | | ;
| | |.;.,..__ |
.-"";` `|
/ | /
`-../____,..---'`
*/
You can style your text with chalk
before passing it to foxsay
.
CLI
$ npm install --global foxsay
$ foxsay --help
Usage
$ foxsay <string>
$ foxsay <string> --maxLength 8
$ echo <string> | foxsay
Example
$ foxsay 'Sindre is a horse'
,-. .-,
|-.\ __ /.-|
\ ` ` / ╭──────────────────────────╮
/ _ _ \ │ Sindre is a horse │
| _o\ /o_ | ╰──────────────────────────╯
'._=/ \=_.'
{`\()/`}`\
{ } \
|{ } \
\ '--' .- \
|- / \
| | | | | ;
| | |.;.,..__ |
.-"";` `|
/ | /
`-../____,..---'`
License
BSD-2-Clause © Quick Brown Fox Labs