Initial commit
This commit is contained in:
16
node/TestCli/node_modules/chalk-animation/a.js
generated
vendored
Normal file
16
node/TestCli/node_modules/chalk-animation/a.js
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
const chalkAnimation = require('.');
|
||||
|
||||
const logo = [
|
||||
' __',
|
||||
'<(o )___',
|
||||
' ( ._> /',
|
||||
' `---\''
|
||||
].join('\n');
|
||||
|
||||
const cls = `\u001B[2J\u001B[0;0H`;
|
||||
|
||||
const rainbow = chalkAnimation.rainbow(logo).stop(); // Don't start the animation
|
||||
|
||||
setInterval(() => {
|
||||
console.log(cls + rainbow.frame());
|
||||
}, 15);
|
||||
Reference in New Issue
Block a user