chalk-animation
chalk-animation copied to clipboard
Support for one-liner countdown
i made some changes to the index file to support "one-liner" countdown/timer. Please feel free and make some changes to it so that users who want to use this repo for only terminal countdown can do so easily. Something like
chalkAnimation.rainbow(timeLeft, countDown);
will be fun :)
here is a working example of the solution
Hi,
I closed and re-opened your PR just to trigger the CI.
As you can see, both the lint and the tests failed.
You need to run npm run fix
to fix the lint issues, then you need to make sure your changes to the code don't break the tests, or edit them if needed (npm test
)