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.
![](https://private-user-images.githubusercontent.com/94776135/304460314-eb1298c1-b1f2-409e-9059-2f5c8854257c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjE3MDcsIm5iZiI6MTczOTYyMTQwNywicGF0aCI6Ii85NDc3NjEzNS8zMDQ0NjAzMTQtZWIxMjk4YzEtYjFmMi00MDllLTkwNTktMmY1Yzg4NTQyNTdjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEyMTAwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg2NDdkNWI0OWRiNzA4M2JlYzI1NGIwMTViNGFlNjMzMTk0MDZkNTZmYTZiZWVhYTFmMzdmNDA3MzRhNmE5YjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.a9CLB-rQyOauZyzjXcqbzhuI1eE3QEOiU0O9vVWIgOQ)
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjE3MDcsIm5iZiI6MTczOTYyMTQwNywicGF0aCI6Ii85NDc3NjEzNS8zMDQ0NjI4MTYtYjA5YWMwYTAtZDk4ZS00MzZhLWIxZTAtYTgyZDE3YjNlYzBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDEyMTAwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcyZDg2NTk0OTJjOWUwOWQ1MDRiMzg0MjNjZmMyMDdhOGZhNTNkYmFmNmIxNDljNTAwZmQwZmFhOTY1ZjU2ZDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.oNVFScPk4ULukK8KWKbBiSpdEaRkTbg-9MBynLhDQLM)
E-mail - [email protected]
ts-animal with MIT licensed.