fmgsay

1.0.1 • Public • Published

onionsayBuild Status

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

Package Sidebar

Install

npm i fmgsay

Weekly Downloads

3

Version

1.0.1

License

BSD-2-Clause

Last publish

Collaborators

  • collintmiller