text-case-cli
v1.0.0
Published
Text case converter CLI — camel, pascal, snake, kebab, and more
Maintainers
Readme
text-case-cli
Zero-fuss text case converter for the terminal.
Install
npm install -g @asdsadw12312dwd2112xz/text-case-cliUsage
text-case camel "hello world" # helloWorld
text-case pascal "hello world" # HelloWorld
text-case snake "hello world" # hello_world
text-case kebab "hello world" # hello-world
text-case constant "hello world" # HELLO_WORLD
text-case title "hello world" # Hello World
text-case sentence "hello world" # Hello world
text-case dot "hello world" # hello.world
text-case path "hello world" # hello/world
text-case all "hello world" # Show all conversions
text-case detect "helloWorld" # Detect case typeStdin support
echo "hello world" | text-case kebab
git log --oneline | head -1 | text-case pascalSupported cases
| Command | Example output |
|------------|------------------|
| camel | helloWorld |
| pascal | HelloWorld |
| snake | hello_world |
| kebab | hello-world |
| constant | HELLO_WORLD |
| title | Hello World |
| sentence | Hello world |
| dot | hello.world |
| path | hello/world |
