797 B
797 B
stopwatch-cli
A minimal terminal stopwatch with an interactive TUI.
┌─────────────────────┐
│ 00:00:00.0 │
│ ● RUNNING │
└─────────────────────┘
[space] start/pause [r] reset [q] quit
Install
npm install
Run
# Build and run
npm run build
npm start
# Run directly (no build step)
npm run dev
Test
npm test
Key bindings
| Key | Action |
|---|---|
space |
Start / Pause |
r |
Reset to zero |
q |
Quit |
ctrl+c |
Quit |
Time format
Elapsed time is shown as HH:MM:SS.d where d is tenths of a second.