fancy-console-js
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

Fancy Console JS

A simple and small JavaScript Package to enhance your debugging experience with console.

Demo is here

Installation

npm i fancy-console-js --dev

or

yarn add -D fancy-console-js

Usage

import fancyConsole from "fancy-console-js"

fancyConsole({
	content:  "//Content You want to log",
	variant:  "anyone from the Variants",
	identifier:  "your file name from where you are writing the log",
	identifierBg:  "anyone from the Colors",
	identifierColor:  "anyone from the Colors",
	badgeBg:  "anyone from the Colors",
	badgeColor:  "anyone from the Colors",
});

Variants

  • success
  • info
  • warning
  • error

Colors

  • Black
  • Red
  • Green
  • Yellow
  • Blue
  • Magenta
  • Cyan
  • White
  • Gray
  • Bright Red
  • Bright Green
  • Bright Yellow
  • Bright Blue
  • Bright Magenta
  • Bright Cyan
  • Bright White

Happy Programming 💗

Package Sidebar

Install

npm i fancy-console-js

Weekly Downloads

0

Version

1.6.0

License

MIT

Unpacked Size

44.3 kB

Total Files

8

Last publish

Collaborators

  • mehedihsiam