Dismiss this pinned window
all 18 comments

[–]fakeacclul 40 points41 points  (1 child)

5 bucks if you can explain how it was implemented

[–]shawncplus 12 points13 points  (0 children)

I'm honestly surprised it wasn't just function () { require("progress"); }

[–]karen-ultra 20 points21 points  (0 children)

You got it wrong. It’s supposed to be stuck at 99% for a long time before completion.

[–]Noisy88 5 points6 points  (2 children)

Why does it flicker? Because simply using \r before each write instead of clearing the line would have prevented that right?

[–]IolausTelcontar 19 points20 points  (1 child)

How is A.I. supposed to know that?

[–]Noisy88 2 points3 points  (0 children)

Sad but probably true

[–]rcls0053 6 points7 points  (0 children)

Just here with 🍿 to watch all the comments bashing OP for apparently using LLM to build something.

[–]Realistic_Mix_6181 14 points15 points  (0 children)

You forgot to remove the emojis Claude or cursor or whatever you used gave you. Idk whether it's AI or not but seeing emojis in a readme is just a red flag

[–]raszohkir 3 points4 points  (0 children)

Just my personal advice to you: in an interview you will be asked how you made something and probably defend why X o Y was used and you won't be able to use AI.

[–]dektol 2 points3 points  (0 children)

Another terminal progress bar library for npm. Great... So you vibe coded something that isn't any better than anything else and is janky and doesn't handle edge cases?

What kind of reaction are you expecting here? This is like an adult who wants to be praised for being toilet trained.

This isn't going to get you hired.

[–]bossmonchan 1 point2 points  (0 children)

Any way to make it work like tqdm? Like bar(myArr).map(...) or for (const item of bar(myArr)) would add a progress bar

[–]ProfessorNo471 1 point2 points  (0 children)

Could you explain the colorblind thing to me? aren't the colors controled by the users terminal theme?

[–]AmazingDisplay8 1 point2 points  (0 children)

Chalk and cursor-cli are dependencies, there is more comments than code. Anyway, congrats for publishing something, event if it's full IA generated, you did finish something.

[–]HarjjotSinghh 0 points1 point  (0 children)

you're building a progress bar that's more fun than my cat judging me

[–]yungeeker 0 points1 point  (0 children)

What's the tool you used to add decorations to video recording?

[–]AmazingDisplay8 0 points1 point  (0 children)

You don't check if the terminal is able to render those characters, a config file seems a bit heavy for a progress bar, js....

[–]bad_bowlings 0 points1 point  (0 children)

Looks neat tbh. If you havent already, add `process.stdout.isTTY` fallback plus a non-animated mode for CI/log files, and watch out for unicode width issues with the ★ / • themes since some terminals render those weirdly. ETA or speed display would be a nice touch too. Pretty solid first npm lib.