JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 440502
  • Score
    100M100P100Q190814F
  • License BSD-2-Clause

Tell Yeoman what to say

Package Exports

  • yosay

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (yosay) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

yosay Build Status

Tell Yeoman what to say

Like cowsay, but less cow.

Install

$ npm install --save yosay

Usage

var yosay = require('yosay');

console.log(yosay('Hello, and welcome to my fantastic generator full of whimsy and bubble gum!'));

/*
     _-----_
    |       |    .--------------------------.
    |--(o)--|    | Hello, and welcome to my |
   `---------´   | fantastic generator full |
    ( _´U`_ )    |   of whimsy and bubble   |
    /___A___\    |           gum!           |
     |  ~  |     '--------------------------'
   __'.___.'__
 ´   `  |° ´ Y `
 */

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

CLI

$ npm install --global yosay
$ yosay --help

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

  Example
    yosay 'Sindre is a horse'

     _-----_
    |       |    .--------------------------.
    |--(o)--|    |     Sindre is a horse    |
   `---------´   '--------------------------'
    ( _´U`_ )
    /___A___\
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

License

BSD license Copyright (c) Google