shelobsay

Tell Shelob what to say

Usage no npm install needed!

<script type="module">
  import shelobsay from 'https://cdn.skypack.dev/shelobsay';
</script>

README

shelobsay

Tell Shelob what to say

Like cowsay, but less cow.

Install

$ yarn add git+ssh://git@github.com/ntucker/shelobsay

Usage

const shelobsay = require('shelobsay');

console.log(shelobsay('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   │
/__/__/     \__\__\__ │           gum!           │
\  \  \     /  /  /   ╰──────────────────────────╯
 \  \,'`._,'`./  /
  \,'`./___\,'`./
 ,'`-./_____\,-'`.
     /       \
 */

You can style your text with chalk before passing it to shelobsay.

CLI

$ yarn global add shelobsay
$ shelobsay --help

  Tell Shelob what to say

  Usage
    $ shelobsay <string>
    $ shelobsay <string> --maxLength 8
    $ echo <string> | shelobsay

  Example
    $ shelobsay 'Sindre is a horse'

     \_______/
 `.,-'\_____/`-.,'
  /`..'\ _ /`.,'\     ╭──────────────────────────╮
 /  /`.,' `.,'\  \    │     Sindre is a horse    │
/__/__/     \__\__\__ ╰──────────────────────────╯
\  \  \     /  /  /
 \  \,'`._,'`./  /
  \,'`./___\,'`./
 ,'`-./_____\,-'`.
     /       \

License

BSD license Copyright (c) Robinhood Markets