Convert kebab-case strings to PascalCase from the command line. Zero dependencies.
npm install -g @kszongic/kebab2pascal-cli# Arguments
kebab2pascal hello-world
# HelloWorld
kebab2pascal my-component-name another-string
# MyComponentName
# AnotherString
# Pipe from stdin
echo "my-cool-widget" | kebab2pascal
# MyCoolWidget
# Multiple lines via stdin
printf "foo-bar\nbaz-qux" | kebab2pascal
# FooBar
# BazQux| Flag | Description |
|---|---|
-h, --help |
Show help |
-v, --version |
Show version |
Handy for renaming components, generating class names, or batch-converting identifiers in shell scripts.
MIT © 2026 kszongic