c-yosay

1.0.2 • Public • Published

yosay

Tell Yeoman what to say

Install

npm install c-yosay

Usage

import yosay from 'c-yosay';

console.log(yosay('Welcome to Coherent, ladies and gentlemen!'));

/*

     _-----_
    |       |    ╭──────────────────────────╮
    |--(c)--|    │    Welcome to Coherent,  │
   `----o----´   │   ladies and gentlemen!  │
    ( _´h`_ )    ╰──────────────────────────╯
    /___e___\   /
     |  r  |
   __'._e_.'__
 ´   `  nt ´ | `
*/

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

CLI

npm install --global c-yosay
$ yosay --help

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

  Example
    $ yosay 'Welcome to Coherent, ladies and gentlemen!'

     _-----_
    |       |    ╭──────────────────────────╮
    |--(c)--|    │    Welcome to Coherent,  │
   `----o----´   │   ladies and gentlemen!  │
    ( _´h`_ )    ╰──────────────────────────╯
    /___e___\   /
     |  r  |
   __'._e_.'__
 ´   `  nt ´ | `

Readme

Keywords

Package Sidebar

Install

npm i c-yosay

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

45.4 kB

Total Files

7

Last publish

Collaborators

  • anbu_coherent