shelobsay

2.0.0 • Public • Published

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

Package Sidebar

Install

npm i shelobsay

Homepage

ntucker.me

Weekly Downloads

354

Version

2.0.0

License

BSD-2-Clause

Unpacked Size

9.02 kB

Total Files

4

Last publish

Collaborators

  • ntucker