MCPcopy
hub / github.com/webpack/webpack / init

Function init

lib/cli.js:917–918  ·  view source on GitHub ↗
(open, close, replace)

Source from the content-addressed store, hash-verified

915 * @returns {PrintFunction} result
916 */
917const init = (open, close, replace) =>
918 filterEmpty(`\u001B[${open}m`, `\u001B[${close}m`, replace);
919
920/**
921 * Defines the colors type used by this module.

Callers 1

createColorsFunction · 0.70

Calls 1

filterEmptyFunction · 0.85

Tested by

no test coverage detected