onionsay
v1.0.0
Published
Tell Onion what to say (forked from yosay)
Downloads
5
Maintainers
Readme
onionsay
Tell The Onion what to say
Like cowsay, but less cow.
Install
$ npm install --save theonion/onionsay
Usage
var onionsay = require('onionsay');
console.log(onionsay('AMERICA\'S FINEST NEWS SOURCE!'));
/*
/
///
////
////////////
//// /// //
//// /// /////
/// /// //// //
/// // /// //
//// /// ///
//// //// /// .--------------------------.
/// /// //// | 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