0.2.4 • Published 3 years ago

vincent0700-cli v0.2.4

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

vincent0700-cli

This is an experimental cli tool to show my profile. Welcome!

▩ Preview

npm.io

▩ Usage

Tips: Your NodeJs version should be greater than v12 to run this command.

$ npx vincent0700-cli

I have tested it successfully on my macOS terminal. If you're on Windows, perhaps you need to use Windows Terminal instead of cmd.exe.

It's just experimental and don't be too critical (ノへ ̄、) If you can't use it, don't be worry. You can also find me through Telegram and Gmail.

▩ How it works

I have serialized each frame of the GIF and saved it as binary file. Then I use url-loader to load each frame and put base64 data into source file. So that i don't need to package image libs into my bundle to parse gif at runtime. It only depends on chalk. So the next step is to render frame by frame.

I use process.stdout.cursorTo(0, 0) to draw each frame instead of console.clear() to fixed screen splash while repainting. Here is the wiki:

0.2.4

3 years ago

0.2.1

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.0

3 years ago

0.1.4

3 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago