-
-
Notifications
You must be signed in to change notification settings - Fork 27
refactor: remove colors dependency #52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d9de748
to
ea5bbdd
Compare
Hey, @vchimev, can you try to fix the dependency. I think it is time to use it in our log for better visualization.
Here is an example of colors:
`
var colors = require('colors');
colors.setTheme({
info: 'blue',
data: 'grey',
help: 'cyan',
warn: 'yellow',
error: 'red'
});
// outputs red text
console.log("this is an error".error);
// outputs yellow text
console.log("this is a warning".warn);`
Basically, we can use red for errors, orange for warning, blue for basic info and etc. It is easy to use in our logs in utils.
The colors
dependency has been removed in #63.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Uh oh!
There was an error while loading. Please reload this page.
#51