cali-cli
v0.3.9
Published
Terminal calculator with real-time evaluation, currency conversion, and unit conversion
Maintainers
Readme
cali
A terminal calculator with real-time evaluation, currency conversion, and unit conversion.

Installation
npm install -g cali-cliOr run directly with npx:
npx cali-cliUsage
Interactive REPL (default)
caliOpens a nano-like editor with:
- Real-time calculation results on the right
- Running total at the bottom
- Syntax highlighting
Evaluate expressions
cali "100 + 50 * 2"
cali "100 USD in EUR"
cali "5 km in miles"Process files
cali expenses.cal
cali -i expenses.cal # Open in interactive modePipe input
echo "100 + 200" | cali
cat budget.cal | caliKeyboard Shortcuts
| Shortcut | Action |
|----------|--------|
| Ctrl+S | Save file |
| Ctrl+P | Share (copy cali.run link) |
| Ctrl+L | Clear editor |
| Ctrl+C | Quit |
| Ctrl+W | Delete word |
| Ctrl+U | Delete to start of line |
| Option+←/→ | Move by word |
Features
- Real-time evaluation - See results as you type
- Currency conversion -
100 USD in EUR - Unit conversion -
5 km in miles,20 C in F - Percentages -
100 + 10%,25% of 200 - Labels -
rent: 1500 - Comments -
// this is a comment - Totals -
totalortotal in USD
Examples
// Monthly budget
rent: 1500 USD
groceries: 400
utilities: 150
total// Trip distance
Paris to London: 450 km
London to Edinburgh: 650 km
total in milesLinks
License
MIT
