yosay-sogou

0.0.2 • Public • Published

yosay-sogou

Tell Yeoman what to say

Install

$ npm install --save yosay-sogou

Usage

var yosay = require('yosay-sogou');

console.log(yosay('Welcome to the groovy Sogou generator!'));

/*

    _sogou_
   |       |    .--------------------------.
   |--(o)--|    |   Welcome to the groovy  |
  `---------´   |   Sogou generator!       |
   ( _´U`_ )    '--------------------------'
   /___A___\              
    |  ~  |          
  __'.___.'__
´   `  |° ´ Y `
 */

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

CLI

$ npm install --global yosay-sogou
$ yosay --help

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

  Example
    yosay 'Sindre is a horse'

     _sogou_
    |       |    .--------------------------.
    |--(o)--|    |     Sindre is a horse    |
   `---------´   '--------------------------'
    ( _´U`_ )
    /___A___\
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

License

BSD license

Package Sidebar

Install

npm i yosay-sogou

Homepage

yeoman.io

Weekly Downloads

0

Version

0.0.2

License

BSD

Last publish

Collaborators

  • goodwjf