Git Product home page Git Product logo

ascii-art-cartoon-cli's Introduction

ASCII Cartoon Character for terminal ๐Ÿ‘จโ€๐Ÿ’ป

GitHub contributors Stars npm PR's Welcome


You must have heard of cowsay ๐Ÿฎ. But why remain restricted only to cow?

Here we have collections of famous cartoon and characters that repeats the phrase ready to be used in terminal and your javascript projects.

About The Project

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

screenshot screenshot screenshot screenshot

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 take credit for your art.

ASCII ART Credits

Built With

node

Supported By

ascii-art-cartoon-cli's People

Contributors

serjeel-ranjan-911 avatar therealbarenziah avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.