Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/node/TestCli/node_modules/chalk-animation/a.js
2022-09-04 12:45:01 +02:00

17 lines
300 B
JavaScript

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);