@whodunit/pisay

1.0.4 • Public • Published

pisay Build Status

Tell whodunit what to say

Like cowsay, but less cow.

Install

$ npm install pisay

Usage

const pisay = require('@whodunit/pisay');

console.log(pisay('Hello, and welcome to my fantastic investigator full of whimsy and bubble gum!'));

/*
      ______       ╭──────────────────────────────────╮
     /      \      │     Hello, and welcome to my     │
    |        |     │  fantastic investigator full of  │
 ___|________|___  │      whimsy and bubble gum!      │
(________________) ╰──────────────────────────────────╯
  \ ,,,    ,,, /
   (   )/\(   )
    ’’’    ‘’’
 */

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

CLI

$ npm install --global pisay
$ pisay --help

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

  Example
    $ pisay 'Sindre is a horse'

     _-----_
    |       |
    |--(o)--|    ╭──────────────────────────╮
   `---------´   │     Sindre is a horse    │
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

License

BSD-2-Clause © Google

Package Sidebar

Install

npm i @whodunit/pisay

Homepage

whodunit.io

Weekly Downloads

1

Version

1.0.4

License

BSD-2-Clause

Unpacked Size

10.5 kB

Total Files

5

Last publish

Collaborators

  • kengoodridge