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:team.ts.animal@gmail.com |
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.
![](https://private-user-images.githubusercontent.com/94776135/304460314-eb1298c1-b1f2-409e-9059-2f5c8854257c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjk0NTQsIm5iZiI6MTczOTIyOTE1NCwicGF0aCI6Ii85NDc3NjEzNS8zMDQ0NjAzMTQtZWIxMjk4YzEtYjFmMi00MDllLTkwNTktMmY1Yzg4NTQyNTdjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIzMTIzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA5OTU0Y2M1NTBjMGI0ZTJlZmEzN2M4YjdkMzZmMWIyMmYyZGZhMmQ4MDI4NmY0MjE2NzkxMGI3YzhkMDVhMTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.jEyi7bH42Tt4DGMkEluNd3qbiVozKDD52qnuXrWx84U)
There is CodeSandbox where you can try out packages without global installation.
- fork the devbox
- use terminal
![](https://private-user-images.githubusercontent.com/94776135/304462816-b09ac0a0-d98e-436a-b1e0-a82d17b3ec0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMjk0NTQsIm5iZiI6MTczOTIyOTE1NCwicGF0aCI6Ii85NDc3NjEzNS8zMDQ0NjI4MTYtYjA5YWMwYTAtZDk4ZS00MzZhLWIxZTAtYTgyZDE3YjNlYzBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDIzMTIzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2MzA5YTk5OGNjZWI1MDI1YzAzZDgwMTk4OWNmMDkzNDFmYjczYzQ5MWM5OTMxMzkwZTg4YzhjMDAwMTFlNGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0._XEdDJY7_4ZfZEwedW4RslgX2r3661etXh2agAOnA2I)
E-mail - team.ts.animal@gmail.com
ts-animal with MIT licensed.