yosay / 1.0.0 last updated a year ago created on May 9th 2014

Install

npm install --save yosay

Clone

git clone git@github.com:yeoman/yosay.git

dependencies show all 17

main word-wrap 0.1.3 MIT
ansi-regex 1.0.0 MIT
chalk 0.5.1 MIT
minimist 1.1.0 MIT
pad-component 0.0.1 MIT

maintainers +2 more

stephenplusplus
sindresorhus sindresorhus
addyosmani addyosmani
passy passy
sboudrias sboudrias
eddiemonge

versions

1.0.0 a year ago sindresorhus
0.3.0 a year ago sindresorhus
0.2.1 a year ago sindresorhus
0.2.0 a year ago sindresorhus
0.1.0 a year ago stephenplusplus
2611 Downloads yesterday.

readme

yosay

Tell Yeoman what to say

Like cowsay, but less cow.

Install

$ npm install --save yosay

Usage

var yosay = require('yosay');

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

/*
     _-----_
    |       |    .--------------------------.
    |--(o)--|    | Hello, and welcome to my |
   `---------´   | fantastic generator full |
    ( _´U`_ )    |   of whimsy and bubble   |
    /___A___\    |           gum!           |
     |  ~  |     '--------------------------'
   __'.___.'__
 ´   `  |° ´ Y `
 */

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

CLI

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

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

  Example
    yosay 'Sindre is a horse'

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

License

BSD license Copyright (c) Google

Resolving all dependencies.. This could take a while as our cache is not yet fully warmed up.