0.0.2 • Published 8 years ago

wolfsay v0.0.2

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

Tell the wolf what to say

Like cowsay, but less cow.

npm.io

Install

$ npm install --save wolfsay

Usage

const wolfsay = require('wolfsay');

console.log(wolfsay('Winter is coming!'));

/*
   __    ___                  
   #_~`--'__ `=**-,            
   `.`.     `#.,\\             ╭──────────────────────────╮
     ,_\_\     ## ####\        │     Winter is coming!    │
     `__.__    `#######\       ╰──────────────────────────╯
            ~\ ,#########``~   
            \######\'          

You can style your text with chalk before passing it to wolfsay.

CLI

$ npm install --global wolfsay
$ wolfsay --help

  Usage
    wolfsay <string>
    wolfsay <string> --maxLength 8
    echo <string> | wolfsay

  Example
    wolfsay 'Woof woof'

    __    ___                  
   #_~`--'__ `=**-,            
   `.`.     `#.,\\             ╭──────────────────────────╮
     ,_\_\     ## ####\        │        Woof woof!        │
     `__.__    `#######\       ╰──────────────────────────╯
            ~\ ,#########``~   
            \######\'                                   

License

BSD license Copyright (c) Google