shelobsay
v2.0.0
Published
Tell Shelob what to say
Downloads
291
Maintainers
Readme
shelobsay
Tell Shelob what to say
Like cowsay, but less cow.
Install
$ yarn add git+ssh://[email protected]/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