vtexsay

1.0.3 • Public • Published

vtexsay

Tell VTEX what to say

Like cowsay, but less cow.

Install

$ npm install --save vtexsay

Usage

var vtexsay = require('vtexsay');
 
console.log(vtexsay('Hello, and welcome to my fantastic generator full of whimsy and bubble gum!'));
 
/*
        ,-²═²,        
     r"        "%      .--------------------------.
   r  ╥╥╥    ╦╦╦  ¼    | Hello, and welcome to my |
  j   ²▒▒▒  ▒▒▒`   N   | fantastic generator full |
  ╛    ²▒D ▒▒▒`    j   |   of whimsy and bubble   |
  j     ² ▒▒▒²     ê   |           gum!           |
   ¼     ²▒▒      a    '--------------------------'
    "w    `     =^     
       "²─¬⌂─²²        
 */

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

CLI

$ npm install --global vtexsay
$ vtexsay --help

  Usage
    vtexsay <string>
    vtexsay <string> --maxLength 8
    echo <string> | vtexsay

  Example
    vtexsay 'Sindre is a horse'

        ,-²═²,        
     r"        "%      
   r  ╥╥╥    ╦╦╦  ¼    
  j   ²▒▒▒  ▒▒▒`   N   .--------------------------.
  ╛    ²▒D ▒▒▒`    j   |     Sindre is a horse    |
  j     ² ▒▒▒²     ê   '--------------------------'
   ¼     ²▒▒      a    
    "w    `     =^     
       "²─¬⌂─²²        

License

BSD license Copyright (c) Google

Package Sidebar

Install

npm i vtexsay

Weekly Downloads

0

Version

1.0.3

License

BSD

Last publish

Collaborators

  • vtexlab-user
  • lbebber
  • alcar
  • arturpimentel
  • felippenardi
  • alinevillaca
  • caio.oliveira
  • victorges
  • guilhermebruzzi
  • cmdalbem
  • iago
  • ntmedina
  • salesfelipe
  • diegoximenes
  • andreldsa
  • jgfidelis
  • vcalasans
  • thiagomurakami
  • marcoskwkm
  • lurian
  • rogerlucena
  • arthurepc
  • igorframos
  • gustavorosolem
  • analuizamtg
  • rafarubim
  • tergol
  • rafabac
  • bivillar
  • breno
  • guigs
  • daher
  • lucasecdb
  • victorhmp
  • marcosvcp
  • jeymisson
  • natalia_godot
  • tiagonapoli
  • r-araripe
  • augusto.lazaro
  • kaisermann
  • ericreis
  • athoscouto
  • tlgimenes
  • anitavincent
  • brunojdo
  • firstdoit
  • augustob
  • afonsopraca
  • amoreira
  • nandoacoelho
  • kevinchevallier
  • iago1501
  • juliobguedes
  • lucasvysk.vtex
  • vtex-licenses
  • arthurtriis1vtex
  • vitorlgomes
  • mateuspontes
  • alexalves2501
  • carolinerpessoa
  • evertonataide