1.0.0 • Published 7 years ago

onionsay v1.0.0

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

onionsayBuild Status

Tell The Onion what to say

Like cowsay, but less cow.

npm.io

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