Skip to main content

Built and signed on GitHub Actions

A Deno version of the cowsay command.

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
94%
Published
3 weeks ago (0.2.0)

@morinokami/deno-says

A Deno version of the cowsay command.

Usage

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!");
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@morinokami/deno-says

Import symbol

import * as _morinokami_deno_says from "@morinokami/deno-says";

---- OR ----

Import directly with a jsr specifier

import * as _morinokami_deno_says from "jsr:@morinokami/deno-says";

Add Package

npx jsr add @morinokami/deno-says

Import symbol

import * as _morinokami_deno_says from "@morinokami/deno-says";

Add Package

yarn dlx jsr add @morinokami/deno-says

Import symbol

import * as _morinokami_deno_says from "@morinokami/deno-says";

Add Package

pnpm dlx jsr add @morinokami/deno-says

Import symbol

import * as _morinokami_deno_says from "@morinokami/deno-says";

Add Package

bunx jsr add @morinokami/deno-says

Import symbol

import * as _morinokami_deno_says from "@morinokami/deno-says";