KJ
This commit is contained in:
dopeuni444
2025-08-06 11:08:49 +04:00
parent b5a22951ae
commit ae726301f8
8715 changed files with 588619 additions and 243113 deletions

View File

@@ -0,0 +1,36 @@
/**
* npm.js: Config that conform to npm logging levels.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Default levels for the npm configuration.
* @type {Object}
*/
exports.levels = {
error: 0,
warn: 1,
info: 2,
http: 3,
verbose: 4,
debug: 5,
silly: 6
};
/**
* Default levels for the npm configuration.
* @type {Object}
*/
exports.colors = {
error: 'red',
warn: 'yellow',
info: 'green',
http: 'green',
verbose: 'cyan',
debug: 'blue',
silly: 'magenta'
};

View File

@@ -0,0 +1,38 @@
/**
* syslog.js: Config that conform to syslog logging levels.
*
* (C) 2010 Charlie Robbins
* MIT LICENCE
*/
'use strict';
/**
* Default levels for the syslog configuration.
* @type {Object}
*/
exports.levels = {
emerg: 0,
alert: 1,
crit: 2,
error: 3,
warning: 4,
notice: 5,
info: 6,
debug: 7
};
/**
* Default levels for the syslog configuration.
* @type {Object}
*/
exports.colors = {
emerg: 'red',
alert: 'yellow',
crit: 'red',
error: 'red',
warning: 'red',
notice: 'yellow',
info: 'green',
debug: 'blue'
};