foxsay

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i foxsay

Weekly Downloads

0

Version

1.0.0

License

BSD-2-Clause

Unpacked Size

11.6 kB

Total Files

5

Last publish

Collaborators

  • biru-kitsune