@palmares/logging
Version:
Palmares logging interface so you can log it to the console or other places as well
12 lines (10 loc) • 331 B
JavaScript
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
// src/utils.ts
function removeColorsFormatting(message) {
return message.replace(/\x1b\[\d+m/g, "");
}
__name(removeColorsFormatting, "removeColorsFormatting");
export {
removeColorsFormatting
};