How to use the ansicolors.bgWhite function in ansicolors

To help you get started, we’ve selected a few ansicolors examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github macbre / phantomas / analyze-css.js View on Github external
msg = msg.replace(/\[\[(.*)\]\]/g, function(match) {
				return colors.bgWhite(colors.black(match.substring(2, match.length - 2)));
			});