1.1.3 • Published 3 years ago
@cudy/sage v1.1.3
CLI Logger
Custom look of console.log() pooring function
Getting Started
Installation
npm i @cudy/sage
How to use it
sage returns the type + message
loge just logs that return
// ES6
import Sage from "@cudy/sage";
// OR
import { Sage, Loge } from "@cudy/sage";
// ES5
const Sage = require("@cudy/sage");
// OR
const { Sage, Loge } = require("@cudy/sage");
Available functions
Loge("log", "I'm a log message");
OUTPUT
Loge("success", "I'm a success message");
OUTPUT
Loge("warn", "I'm a warn message");
OUTPUT
Loge("error", "I'm an error message");
OUTPUT