more
This commit is contained in:
dopeuni444
2025-07-31 12:23:33 +04:00
parent 20b46678b7
commit b5a22951ae
3401 changed files with 331100 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
/**
* cli.js: Config that conform to commonly used CLI logging levels.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Default levels for the CLI configuration.
* @type {Object}
*/
exports.levels = {
error: 0,
warn: 1,
help: 2,
data: 3,
info: 4,
debug: 5,
prompt: 6,
verbose: 7,
input: 8,
silly: 9
};
/**
* Default colors for the CLI configuration.
* @type {Object}
*/
exports.colors = {
error: 'red',
warn: 'yellow',
help: 'cyan',
data: 'grey',
info: 'green',
debug: 'blue',
prompt: 'grey',
verbose: 'cyan',
input: 'grey',
silly: 'magenta'
};

View File

@@ -0,0 +1,32 @@
/**
* index.js: Default settings for all levels that winston knows about.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Export config set for the CLI.
* @type {Object}
*/
Object.defineProperty(exports, 'cli', {
value: require('./cli')
});
/**
* Export config set for npm.
* @type {Object}
*/
Object.defineProperty(exports, 'npm', {
value: require('./npm')
});
/**
* Export config set for the syslog.
* @type {Object}
*/
Object.defineProperty(exports, 'syslog', {
value: require('./syslog')
});