typex-cli
v1.0.1
Published
A terminal-based typing speed test
Maintainers
Readme
typex
A minimalist terminal typing speed test.
████████╗██╗ ██╗██████╗ ███████╗██╗ ██╗
╚══██╔══╝╚██╗ ██╔╝██╔══██╗██╔════╝╚██╗██╔╝
██║ ╚████╔╝ ██████╔╝█████╗ ╚███╔╝
██║ ╚██╔╝ ██╔═══╝ ██╔══╝ ██╔██╗
██║ ██║ ██║ ███████╗██╔╝ ██╗
╚═╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝Test your typing speed right in the terminal. No browser, no distractions.
Installation
npm
npm install -g typex-cliFrom source
git clone https://github.com/AbhishekMandilkar/typex
cd typex
npm install
npm run build
npm linkUsage
typexFeatures
- 30, 60, or 90 second tests — Choose your challenge
- Real-time WPM and accuracy — See your performance as you type
- Clean monochrome UI — Distraction-free design
- Keyboard shortcuts — Navigate efficiently
Shortcuts
| Key | Action |
|-----|--------|
| ⌥ + ⌫ | Delete word |
| ⌥ + ← → | Move by word |
| ⌃ + C | End test early |
How WPM is Calculated
Words per minute (WPM) is calculated as:
WPM = (characters typed / 5) / minutes elapsedA "word" is standardized as 5 characters.
Performance Rating
| Stars | Score | Accuracy | |-------|-------|----------| | ★★★★★ | 80+ | 95%+ | | ★★★★☆ | 60+ | 90%+ | | ★★★☆☆ | 40+ | 85%+ | | ★★☆☆☆ | 25+ | 75%+ | | ★☆☆☆☆ | Below | Below |
Requirements
- Node.js 18+
- A terminal that supports ANSI escape codes
License
MIT
