Convert Title Case strings to PascalCase from the command line. Zero dependencies.
npm install -g @kszongic/title2pascal-cli# Arguments
title2pascal "Hello World"
# → HelloWorld
title2pascal "my cool function" "another string"
# → MyCoolFunction
# → AnotherString
# Pipe / stdin
echo "some-kebab-case" | title2pascal
# → SomeKebabCase
echo "under_score_case" | title2pascal
# → UnderScoreCase| Flag | Description |
|---|---|
-h, --help |
Show help |
-v, --version |
Show version |
MIT © 2026 kszongic