Skip to main content
Home

Quick render Ascii art with custom messages

This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
It is unknown whether this package works with Browsers
JSR Score
100%
Published
a month ago (0.2.0)

🐾 anysay

JSR JSR Score

Make your terminal talk — with cute ASCII creatures that say your messages.
Like a modern cowsay, but with more personality 🐻🐱🐸


✨ Example

import { draw } from "jsr:@d8b/anysay";

draw("Hello world!", "bear");

Output:

 __         __
/  \.-"""-./  \     ┌────────────────┐
\    -   -    /     │   Hello world! │
 |   o   o   |      └────────────────┘
 \  .-'''-.  /
  '-\__Y__/-'
     `---`

🧩 Usage

Signature:

draw(msg: string, art?: Options): void

Parameters:

Name Type Description
msg string The message you want the creature to say
art Options The ASCII art you want to use (optional — random by default)

Example:

draw("meaaullow world!", "cat");
draw("I’m watching you...", "skull");

🐾 Available arts

growing soon!

Current set of creatures bunny, cat, bear, owl, horse, pikachu, pumpikin, skull, skeleton, teddy

Current set of objects coffee, computer


🎨 Optional colors (coming soon!)

You’ll be able to colorize messages and animals dynamically:

draw("Hello!", "bear", { color: "magenta" });

💻 Try it instantly

  bunx jsr add @d8b/anysay
  deno add jsr:@d8b/anysay
  pnpm i jsr:@d8b/anysay
  yarn add jsr:@d8b/anysay
  vlt install jsr:@d8b/anysay
  npx jsr add @d8b/anysay

⚙️ Tech facts

  • Zero dependencies
  • ESM-first (works in Deno, Bun, Node)
  • Fully typed (TypeScript)
  • Tiny footprint (<10 KB)

🧸 License

MIT © 2025 — Created with ❤️ by @dei8bit

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@d8b/anysay

Import symbol

import * as anysay from "@d8b/anysay";
or

Import directly with a jsr specifier

import * as anysay from "jsr:@d8b/anysay";

Add Package

pnpm i jsr:@d8b/anysay
or (using pnpm 10.8 or older)
pnpm dlx jsr add @d8b/anysay

Import symbol

import * as anysay from "@d8b/anysay";

Add Package

yarn add jsr:@d8b/anysay
or (using Yarn 4.8 or older)
yarn dlx jsr add @d8b/anysay

Import symbol

import * as anysay from "@d8b/anysay";

Add Package

vlt install jsr:@d8b/anysay

Import symbol

import * as anysay from "@d8b/anysay";

Add Package

npx jsr add @d8b/anysay

Import symbol

import * as anysay from "@d8b/anysay";

Add Package

bunx jsr add @d8b/anysay

Import symbol

import * as anysay from "@d8b/anysay";