Skip to content

morinokami/deno-says

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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!");

About

A Deno version of the cowsay command.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published