# yosay

> Tell Yeoman what to say

Latest version **3.0.0** (published 2023-10-27) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install yosay
pnpm add yosay
yarn add yosay
bun add yosay
```

Provides the command `yosay`.

## Health

**Score 28/100 (F)** — status: abandoned.

Positive: has types package; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2023-10-27 |
| First published | 2014-05-09 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | separate (@types/yosay) |
| Module format | ESM |
| Node | >=18 |
| Dependencies | 9 |
| Unpacked size | 9.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 209 |
| Maintainers | sindresorhus, sboudrias, eddiemonge, addyosmani, mischah, zckrs, ulisesgascon, mshima, ruyadorno |
| Keywords | cli-app, cli, yeoman, yo, cowsay, say, box, message, ansi |

## Links

- npm: https://www.npmjs.com/package/yosay
- Repository: https://github.com/yeoman/yosay
- Homepage: https://github.com/yeoman/yosay#readme
- Issues: https://github.com/yeoman/yosay/issues
- npm.io page: https://npm.io/package/yosay

## Dependencies (9)

- [meow](https://npm.io/package/meow.md) ^12.1.1
- [chalk](https://npm.io/package/chalk.md) ^5.3.0
- [cli-boxes](https://npm.io/package/cli-boxes.md) ^3.0.0
- [wrap-ansi](https://npm.io/package/wrap-ansi.md) ^8.1.0
- [ansi-regex](https://npm.io/package/ansi-regex.md) ^6.0.1
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^7.1.0
- [ansi-styles](https://npm.io/package/ansi-styles.md) ^6.2.1
- [string-width](https://npm.io/package/string-width.md) ^6.1.0
- [pad-component](https://npm.io/package/pad-component.md) 0.0.1

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 3.0.0 (latest) — 2023-10-27
- 2.0.2 — 2018-03-25
- 2.0.1 — 2017-07-29
- 2.0.0 — 2017-02-13
- 1.2.1 — 2016-10-06
- 1.2.0 — 2016-06-17
- 1.1.1 — 2016-04-04
- 1.1.0 — 2015-11-14
- 1.0.5 — 2015-07-16
- 1.0.4 — 2015-05-21
- 1.0.3 — 2015-03-04
- 1.0.2 — 2015-01-21
- 1.0.1 — 2014-12-25
- 1.0.0 — 2014-08-13
- 0.3.0 — 2014-06-20
- … 3 more at https://npm.io/package/yosay/versions

## README

# yosay

> Tell Yeoman what to say

Like [cowsay](https://en.wikipedia.org/wiki/Cowsay), but less cow.

![](screenshot.png)

## Install

```sh
npm install yosay
```

## Usage

```js
import yosay from '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 with [`chalk`](https://github.com/chalk/chalk) before passing it to `yosay`.*

## CLI

```sh
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 `
```

---
_Source: https://npm.io/package/yosay · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
