JSPM

foxsay

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q12633F
  • License BSD-2-Clause

Tell the fox what to say

Package Exports

  • foxsay

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (foxsay) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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