levels.js 289 B

123456789101112131415
  1. 'use strict';
  2. var _require = require('./colorize'),
  3. Colorizer = _require.Colorizer;
  4. /*
  5. * Simple method to register colors with a simpler require
  6. * path within the module.
  7. */
  8. module.exports = function (config) {
  9. Colorizer.addColors(config.colors || config);
  10. return config;
  11. };