latest
dei8bit/anysayQuick render Ascii art with custom messages
This package works with Node.js, Deno, BunIt is unknown whether this package works with Cloudflare Workers, Browsers




JSR Score
100%
Published
a month ago (0.2.0)
🐾 anysay
Make your terminal talk — with cute ASCII creatures that say your messages.
Like a moderncowsay, 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
Add Package
deno add jsr:@d8b/anysay
Import symbol
import * as anysay from "@d8b/anysay";
Import directly with a jsr specifier
import * as anysay from "jsr:@d8b/anysay";
Add Package
pnpm i jsr:@d8b/anysay
pnpm dlx jsr add @d8b/anysay
Import symbol
import * as anysay from "@d8b/anysay";
Add Package
yarn add jsr:@d8b/anysay
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";