12 lines
251 B
JavaScript
12 lines
251 B
JavaScript
'use strict';
|
|
|
|
const { Colorizer } = require('./colorize');
|
|
|
|
/*
|
|
* Simple method to register colors with a simpler require
|
|
* path within the module.
|
|
*/
|
|
module.exports = config => {
|
|
Colorizer.addColors(config.colors || config);
|
|
return config;
|
|
};
|