Open JanisE opened 6 years ago
Please, add support for colouring multiple arguments!
For example, I can do this: console.log('Hello world!', 'ssss', 5, {sss: 0});
console.log('Hello world!', 'ssss', 5, {sss: 0});
I would love to be able to this, too: console.log(colors.info('Hello world!', 'ssss', 5, {sss: 0}));
console.log(colors.info('Hello world!', 'ssss', 5, {sss: 0}));
Currently, "colors.js" outputs just the first argument.
I cannot use the "Chalk" package, too, because even though it outputs all arguments, they do not output object content, but object [Object] instead.
object [Object]
Seems a good feature to me. Regarding that Chalk thing, it seems to me that it's because you're displaying an object as a string hence the [Object object].
[Object object]
Please, add support for colouring multiple arguments!
For example, I can do this:
console.log('Hello world!', 'ssss', 5, {sss: 0});
I would love to be able to this, too:
console.log(colors.info('Hello world!', 'ssss', 5, {sss: 0}));
Currently, "colors.js" outputs just the first argument.
I cannot use the "Chalk" package, too, because even though it outputs all arguments, they do not output object content, but
object [Object]
instead.