0.0.2 • Published 6 years ago

yosay-leoman v0.0.2

Weekly downloads
4
License
BSD-2-Clause
Repository
github
Last release
6 years ago

yosay Build Status

Tell Yeoman what to say

Like cowsay, but less cow.

Install

$ npm install --save yosay-leoman

Usage

const yosay = require('yosay');

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

'
                                           yyyyyyyyyyyyyyyo+/:`   
                                           yyyyyyyyys+::::+osy.   
                                           yyyys+::. /hddddddd.   
                                           yy+//oso.ydddyydddd.   
                                           yyyyyy+`+/:::/sdddd.   
                                           yys+/..+shddddddddd.   
                                           ys+o:.hdddddddddddd.   
                                           +yy-`hddddddddddddh    
                                           .s.`yddddddddddddh.    
                                             yddddddddddddo`      
                                              ./oyhdddhyo:`       

*You can style your text with [`chalk`](https://github.com/sindresorhus/chalk) before passing it to `yosay-leoman`.*


## CLI

$ npm install --global yosay-leoman

$ yosay --help

Usage $ yosay $ yosay --maxLength 8 $ echo | yosay

Example $ yosay 'Sindre is a horse'

License

BSD license Copyright (c) Google