A simple and small JavaScript Package to enhance your debugging experience with console.
npm i fancy-console-js --dev
or
yarn add -D fancy-console-js
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",
});
- success
- info
- warning
- error
- Black
- Red
- Green
- Yellow
- Blue
- Magenta
- Cyan
- White
- Gray
- Bright Red
- Bright Green
- Bright Yellow
- Bright Blue
- Bright Magenta
- Bright Cyan
- Bright White