onionsay![Build Status](https://travis-ci.org/theonion/onionsay.svg?branch=master)
Tell The Onion what to say
Like cowsay, but less cow.
![](https://github.com/theonion/yosay/raw/HEAD/screenshot.png)
Install
$ npm install --save theonion/onionsay
Usage
var onionsay = require('onionsay');
console.log(onionsay('AMERICA\'S FINEST NEWS SOURCE!'));
You can style your text with chalk before passing it to onionsay
.
CLI
$ npm install --global theonion/onionsay
$ onionsay --help
Tell Onion what to say (forked from yosay)
Usage
onionsay <string>
onionsay <string> --maxLength 8
echo <string> | onionsay
Example
onionsay "TU STULTUS ES"
/
///
////
////////////
//// /// //
//// /// /////
/// /// //// //
/// // /// //
//// /// ///
//// //// /// .--------------------------.
/// /// //// | TU STULTUS ES |
/// /// ///// '--------------------------'
// /// ///// //
// ////////// ///
////// ///
//////// //////
/// /////////
License
BSD license
Copyright (c) Google