colors.js icon indicating copy to clipboard operation
colors.js copied to clipboard

string.prototype.blue makes text orange

Open Darxoon opened this issue 5 years ago • 3 comments

My code:

const colors = require('colors'); 

console.log('hello world'.blue);

This is the result: grafik

Darxoon avatar Jun 26 '19 20:06 Darxoon

Have you tried:

console.log('hello world'.orange);

DecryptingElectrons avatar Jul 09 '19 00:07 DecryptingElectrons

Are you sure your bash/terminal configuration doesn't show the color 'blue' as 'orange'?

JoelHernandez343 avatar Nov 02 '19 00:11 JoelHernandez343

Have you tried:

console.log('hello world'.orange);

'.orange' is not a member of npm-colors interface

JoelHernandez343 avatar Nov 02 '19 00:11 JoelHernandez343