@turbocolor/colorshelll
Version:
Show Colors In The Node.js Repl
12 lines • 517 B
JavaScript
const os = require('os');
const osinfo = (os.hostname()+'-'+os.platform()+'-'+os.version())
const catpt1 = `
\\ /\\
) ( ')`
const catpt2 = `
( / )
\\(__)|
`
console.log('\033[31m■ Red Foreground\n\033[32m■ Green Foreground\n\033[33m■ Yellow Foreground\n\033[34m■ Blue Foreground\n\033[35m■ Magenta Foreground\n\033[36m■ Cyan Foreground\n\033[37m■ White Foreground\n\033[30m■ Black Foreground\n\033[34m');
console.log(catpt1,'@turbocolor/colorshelll@0.0.8 on ', osinfo, catpt2);
process.exit();