UNPKG

reest

Version:

A library inspired by NestJS's elegance, specifically designed for efficient serverless API development on AWS Lambda. It streamlines the creation of microservices with automated Swagger documentation and enhanced decorator-based middleware support, makin

13 lines 542 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Log = void 0; const chalk_1 = __importDefault(require("chalk")); const moment_1 = __importDefault(require("moment")); const Log = (message, type) => { console.log(chalk_1.default.white(`[reest][LOG][${(0, moment_1.default)().format("hh:mm:ss")}] ${message}`)); }; exports.Log = Log; //# sourceMappingURL=Log.js.map