1.0.6 • Published 6 months ago
custom-console-for-fun v1.0.6
Custom Console
Custom Console is a customizable logger that replaces the browser's default console with a styled debugging panel.
Features
- Styled logs, errors, and exceptions.
- Automatically displays JSON objects with nested formatting.
- Easy to integrate into any JavaScript project.
Installation
Install using npm:
npm i custom-console-for-fun
Usage
- import customConsole from "./node_modules/custom-console-for-fun/customConsole.js";
customConsole.setupCustomConsole();
// Example usage
- console.log({ name: "Alice", age: 25 });
- console.error("This is an error message");
- throw new Error("This is an exception");