0.2.10 • Published 2 years ago

charsay v0.2.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Usage

NOTES:

  • NO TYPESCRIPT SUPPORT YET
  • Only node / serverside commonjs
  • no for web

Install globally in your terminal

Make sure you have npm installed in your system

npm --version

Install the package

npm install -g charsay

Check the installation

charsay --version

Finally use it anywhere

  • Default cartoon is homer
# default character is homer
charsay "Hello Dog!"
# diferent character
# list of characters included $ charsay --help
charsay "Hello Dog!" macintosh
# change message margin left
charsay "Hello Dog!" macintosh 25
# combining with echo
echo "Hello dog!" | charsay 

For full command usage see and to view all available characters -

charsay --help

Import in your javascript project

First install in your local project

# npm
npm install charsay --save
# yarn
yarn add --dev charsay

Import the package

import { charsay } from 'charsay';

Use the function

// default message margin
charsay("Your message here!",'cat');
// new  message margin
charsay("Your message here!",'cat', 25);

Function :-

charsay(<type your message here>,<character name here | optional>,<message margin | optional>)

Character examples

Screen Shot 2022-03-07 at 7 07 35 PM

Screen Shot 2022-03-07 at 7 08 25 PM

Screen Shot 2022-03-07 at 7 06 50 PM

Screen Shot 2022-03-07 at 7 04 46 PM

Screen Shot 2022-03-11 at 8 14 23 PM

Screen Shot 2022-03-11 at 8 13 53 PM

0.2.10

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago