runlog
Version:
CLI tool for uploading Claude Code conversations to runlog.io
36 lines • 953 B
JavaScript
// Mock for chalk module (ESM-only in tests)
const chalk = {
cyan: (str) => str,
gray: (str) => str,
yellow: (str) => str,
green: (str) => str,
red: (str) => str,
white: (str) => str,
blue: (str) => str,
magenta: (str) => str,
dim: (str) => str,
bold: {
blue: (str) => str,
yellow: (str) => str,
green: (str) => str,
red: (str) => str,
cyan: (str) => str,
gray: (str) => str,
white: (str) => str,
magenta: (str) => str,
},
};
// Make properties chainable
Object.keys(chalk).forEach(key => {
if (typeof chalk[key] === 'function') {
Object.keys(chalk).forEach(subKey => {
if (key !== subKey) {
chalk[key][subKey] = chalk[subKey];
}
});
// Also add bold property to each color
chalk[key].bold = chalk.bold;
}
});
export default chalk;
//# sourceMappingURL=chalk.js.map