How to use ansi-gray - 1 common examples

To help you get started, we’ve selected a few ansi-gray 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 shannonmoeller / ygor / packages / tasks / src / tasks.js View on Github external
function logTime(time, message) {
	const stamp = time.toTimeString().slice(0, 8);

	console.error(`[${gray(stamp)}] ${message}`);
}

ansi-gray

The color gray, in ansi.

MIT
Latest version published 9 years ago

Package Health Score

65 / 100
Full package analysis

Popular ansi-gray functions