VibeHunt
Back to browse
yosay

yosay

Like cowsay, but for yeoman.

Source

A utility that renders arbitrary text inside a stylized Yeoman‑themed ASCII figure, similar to the classic cowsay program but using a Yeoman mascot instead of a cow. It accepts a string and produces a boxed speech bubble with the text, surrounded by a simple drawing that mimics a Yeoman’s head and hat. The output can be customized by pre‑processing the text with the chalk library to add colors or other terminal styles before it is passed to the formatter.

The package can be used as a Node.js module, imported with `import yosay from 'yosay'`, and invoked directly in code to generate the ASCII art, which is then printed to the console. A command‑line interface is also provided; installing globally makes the `yosay` command available, allowing users to pipe text or supply arguments, with optional parameters such as `--maxLength` to control line wrapping.

Designed for developers who want a quick, light‑hearted way to display messages or prompts in terminal applications, the tool is stable, published on npm, and requires no external dependencies beyond optional chalk styling.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps