colors.js
colors.js copied to clipboard
string.prototype.blue makes text orange
My code:
const colors = require('colors');
console.log('hello world'.blue);
This is the result:
Have you tried:
console.log('hello world'.orange);
Are you sure your bash/terminal configuration doesn't show the color 'blue' as 'orange'?
Have you tried:
console.log('hello world'.orange);
'.orange' is not a member of npm-colors interface