Marak / colors.js

get colors in your node.js console
https://github.com/Marak/colors.js
Other
5.16k stars 446 forks source link

string.prototype.blue makes text orange #256

Open Darxoon opened 5 years ago

Darxoon commented 5 years ago

My code:

const colors = require('colors'); 

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

This is the result: grafik

DecryptingElectrons commented 5 years ago

Have you tried:

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

JoelHernandez343 commented 4 years ago

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

JoelHernandez343 commented 4 years ago

Have you tried:

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

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