https://github.com/karl-horning/transform-text
A lightweight text transformation tool for developers. Escape newlines, switch between case formats, and copy results to your clipboard.
https://github.com/karl-horning/transform-text
case-conversion clipboard developer-tools javascript react string-utilities tailwindcss text-tools vite web-app
Last synced: about 1 month ago
JSON representation
A lightweight text transformation tool for developers. Escape newlines, switch between case formats, and copy results to your clipboard.
- Host: GitHub
- URL: https://github.com/karl-horning/transform-text
- Owner: Karl-Horning
- License: mit
- Created: 2024-01-11T23:42:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-03-23T13:52:28.000Z (3 months ago)
- Last Synced: 2026-03-24T09:05:41.252Z (3 months ago)
- Topics: case-conversion, clipboard, developer-tools, javascript, react, string-utilities, tailwindcss, text-tools, vite, web-app
- Language: TypeScript
- Homepage: https://www.karlhorning.dev/transform-text/
- Size: 352 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Transform Text
A lightweight text transformation tool for developers. Escape newlines, switch between case formats, and copy results to your clipboard.
- **Live demo**: [karlhorning.dev/transform-text](https://www.karlhorning.dev/transform-text/)
- **Author**: [Karl Horning](https://github.com/Karl-Horning)
- **Licence**: MIT
## Table of Contents
- [Tech Stack](#tech-stack)
- [Installation](#installation)
- [Scripts](#scripts)
- [Transformations](#transformations)
- [Tests](#tests)
- [Contributing](#contributing)
## Tech Stack
- **Framework**: React (with Vite)
- **Language**: TypeScript
- **Styling**: Tailwind CSS
- **Testing**: Jest
- **Tooling**: ESLint, Prettier
[↑ Back to top](#transform-text)
## Installation
```bash
git clone https://github.com/Karl-Horning/transform-text.git
cd transform-text
npm install
npm run dev
```
[↑ Back to top](#transform-text)
## Scripts
| Command | Description |
| ---------------------- | ----------------------------- |
| `npm run dev` | Start local dev server |
| `npm run build` | Create production build |
| `npm run preview` | Preview production build |
| `npm run lint` | Run ESLint checks |
| `npm run test` | Run all tests once |
| `npm run test:watch` | Run tests in watch mode |
| `npm run test:verbose` | Run tests with verbose output |
[↑ Back to top](#transform-text)
## Transformations
- Escape / Unescape Newlines
- Uppercase / Lowercase
- snake_case, kebab-case, PascalCase, camelCase
- Sentence case, MLA Title Case, AP Title Case
- Sarcastic SpongeBob
- Trim Whitespace
[↑ Back to top](#transform-text)
## Tests
Unit tests cover all transformation functions, including edge cases for empty strings, whitespace-only input, and strings containing numbers.
```bash
npm run test
npm run test:watch # watch mode
```
[↑ Back to top](#transform-text)
## Contributing
Open an issue before submitting a pull request for any significant changes.
[↑ Back to top](#transform-text)