Marak / colors.js

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

`enabled` doesn't work #113

Closed eprev closed 6 years ago

eprev commented 9 years ago

It seems it doesn't work anymore in (v1.0.3 — latest published version).

require('colors').enabled = false;
console.log('hello'.red);

It will print out red line.

eprev commented 9 years ago

It works in v1.1.0. Are you going to you publish this version?

pksunkara commented 9 years ago

@eprev @Marak is reviewing the v1.1.0 now and should be able to publish it soon.

ttsirkia commented 9 years ago

Also the --no-color option has no effect.

pksunkara commented 9 years ago

That has been fixed too.

robby commented 9 years ago

@pksunkara @Marak @eprev is v1.1.0 able to be published to npm?

DABH commented 6 years ago

Please reopen if this is still an issue in colors@next. Thanks!