You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
285 B
13 lines
285 B
|
7 months ago
|
'use strict';
|
||
|
|
|
||
|
|
var _require = require('./colorize'),
|
||
|
|
Colorizer = _require.Colorizer;
|
||
|
|
|
||
|
|
/*
|
||
|
|
* Simple method to register colors with a simpler require
|
||
|
|
* path within the module.
|
||
|
|
*/
|
||
|
|
module.exports = function (config) {
|
||
|
|
Colorizer.addColors(config.colors || config);
|
||
|
|
return config;
|
||
|
|
};
|