A Deno version of the cowsay
command.
You can run deno-says using the following command:
deno run jsr:@morinokami/deno-says 'Hello, World!'
This will output the following:
_______________
< Hello, World! >
---------------
\ _
\ ( ・ヽ
\ \
| `ヽ
⎩ ト、
u¯u︶u
A maximum width can be specified using the --width
flag:
deno run jsr:@morinokami/deno-says --width 5 'Hello from Deno!'
This will output the following:
_______
< Hello >
< from >
< Deno! >
-------
\ _
\ ( ・ヽ
\ \
| `ヽ
⎩ ト、
u¯u︶u
Addtionally, you can use the say
function in your own code:
import { say } from "jsr:@morinokami/deno-says/say";
say("Hello, World!");