Text Calc
2020 · TypeScript, Webpack, Vitest
A lightweight web app that extracts signed numbers (prefixed with “+” or “-”) from any text and calculates the total in real time. It’s handy for quick summaries in messy notes, simple settlements, or pasted chat fragments–without retyping values into a classic calculator.
- Real-time calculation: total and line items update as you type
- Readable breakdown: clear add/subtract list + quick jump back to the source (clicking highlights the number in the textarea)
- No backend: runs entirely in the browser
- Shareable state: the text is stored in the page URL (hash), so you can revisit or share a link with the same input
- Maintainable: TypeScript + unit tests (parser, storage, example generator)

