finds.dev← search

// the find

bvaughn/progress-estimator

★ 2,130 · JavaScript · updated Apr 2023

Logs a progress bar and estimation for how long a Promise will take to complete

A CLI progress bar that estimates completion time for async operations by recording actual durations across runs and refining estimates over time. Aimed at build scripts and long-running Node CLI tools where you want something smarter than a spinner. Brian Vaughn is the React core team member who built react-virtualized and react-window, so this has pedigree.

Learns from history rather than showing a static spinner — stored durations mean estimates get more accurate each run. Minimal API surface: wrap a Promise, give it a label, done. The SHA1-keyed storage means labels just work without manual ID management in most cases. TypeScript types are included and actually tested (types/test.ts).

Last touched in 2023, and looking at the git history it was barely maintained even before that — 48 forks and 2k stars but the issue tracker is likely a graveyard. The storage format is flat JSON files in a directory, which works fine but will accumulate stale entries for renamed tasks forever with no pruning. No CI is visible in the repo tree, so there is no guarantee anything still runs on current Node versions. This is a single-file utility that has arguably been superseded by libraries like `ora` with manual timer logic, which most teams already have.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →