2.1.0 • Published 2 years ago

phraze v2.1.0

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

GitHub contributors Stars npm PR's Welcome

About The Project

This is an ASCII characters collection that you can use on your terminal.

Usage

Install globally in your terminal

Make sure you have npm installed in your system

npm --version

Install the package

npm install -g phraze

Check the installation

phraze --version

Finally use it anywhere

  • Default cartoon is pup
phraze "Hello Guys"
phraze "Hello Guys" homer
echo "Hello Guys" | phraze

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

phraze --help

Import in your javascript project

First install in your local project

npm install phraze --save

Import the package

import { phraze } from "phraze";

Use the function

phraze("Your message here!", "pup");

Alternatively, you may return a string instead of logging, passing a truthy 3rd argument:

phraze("Your message here!", "pup", true);

Function :-

phraze(<type your message here>,<character name here>,<returnMode optional boolean>)

Use in require-based (CommonJS) project

With nodejs >=13 you can consume this module using dynamic import along returnMode

const phraze = async (string, character) => {
	return await import("phraze")
		.then((module) => module.phraze(string, (character = "pup"), true))
		.catch((error) => error);
};

Contributors

Want to publish your own ASCII art here for public usage?

Look in Contributors.md for full detail. Plus you can add your name signature on your art and take credit for it.

asciiart | texteditor

boxen | gradient-string | taketalk

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago