ts-animal
is a sophisticated Command Line Interface (CLI) package designed to showcase captivating ASCII animation art within the animal category. We invite you to immerse yourself in our TypeScript-powered animal world, where creativity meets technology. Welcome to a realm where animated artistry comes to life in the command line environment. 🌐🦁
(\__/)
(= ●.● =) { hello )
( ,, )/ˇ
$ npm i -g ts-animal
$ ts-animal dance tiger
const { makeProgress } = require("ts-animal/progress");
const { update, done, show } = makeProgress({ animal: 'tiger', start: 30 });
show();
const something = () =>
new Promise((resolve) => {
setTimeout(() => {
resolve(Math.round(Math.random()));
}, 1000);
});
(async () => {
const items = Array.from({ length: 50 });
for (const _ of items) {
const res = await something();
update();
if (res) {
done();
return;
}
}
})();
ts-animal | url |
---|---|
our github(source code) | https://github.com/ts-animal/ts-animal |
our mail | mailto:[email protected] |
our npm | https://www.npmjs.com/package/ts-animal |
- make animal named folder in src/zoo.
- make frames as text files in zoo folder. No matter txt files name, but make sure files name and frames are sorted.
- please check first npx run list, to prevent duplicated name.
We have GPTs that help us draw ASCII art.
There is CodeSandbox where you can try out packages without global installation.
- fork the devbox
- use terminal
E-mail - [email protected]
ts-animal with MIT licensed.