Skip to content
@ts-animal

ts-animal

ts-animal

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. 🌐🦁

GitHub npm version install size npm downloads

 (\__/)
(= ●.● =)  { hello )
 ( ,,  )/ˇ

⭐️ Getting started: ASCII Animal

$ npm i -g ts-animal
$ ts-animal dance tiger

⭐️ Getting started: Progress Bar

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

🧭 Navigate

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

How to contribute

  • 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.

Contributors

🫶 Support

ascii-animal generator

We have GPTs that help us draw ASCII art.

ts-animal Devbox

There is CodeSandbox where you can try out packages without global installation.

  1. fork the devbox
  2. use terminal

💌 Stay in touch

E-mail - team.ts.animal@gmail.com

💎 License

ts-animal with MIT licensed.

Popular repositories Loading

  1. ts-animal ts-animal Public

    Sophisticated Command Line Interface (CLI) package to display animal ASCII animation art.

    TypeScript 14

  2. .github .github Public

    ✧ (= '.' =) welcome to ts-animal ✧

Repositories

Showing 2 of 2 repositories
  • ts-animal Public

    Sophisticated Command Line Interface (CLI) package to display animal ASCII animation art.

    ts-animal/ts-animal’s past year of commit activity
    TypeScript 14 MIT 0 2 0 Updated Feb 17, 2024
  • .github Public

    ✧ (= '.' =) welcome to ts-animal ✧

    ts-animal/.github’s past year of commit activity
    0 MIT 0 0 0 Updated Feb 16, 2024

Top languages

Loading…

Most used topics

Loading…