Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Tell Yeoman what to say

License

NotificationsYou must be signed in to change notification settings

yeoman/yosay

Tell Yeoman what to say

Likecowsay, but less cow.

Install

npm install yosay

Usage

importyosayfrom'yosay';console.log(yosay('Hello, and welcome to my fantastic generator full of whimsy and bubble gum!'));/*     _-----_     ╭──────────────────────────╮    |       |    │ Hello, and welcome to my │    |--(o)--|    │ fantastic generator full │   `---------´   │   of whimsy and bubble   │    ( _´U`_ )    │           gum!           │    /___A___\   /╰──────────────────────────╯     |  ~  |   __'.___.'__ ´   `  |° ´ Y `*/

You can style your text withchalk before passing it toyosay.

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 `

[8]ページ先頭

©2009-2025 Movatter.jp