Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kszongic/snake2title-cli

npm version license

Convert snake_case strings to Title Case from the command line. Zero dependencies.

Install

npm install -g @kszongic/snake2title-cli

Usage

# Arguments
snake2title hello_world
# Hello World

snake2title my_var_name another_one
# My Var Name
# Another One

# Pipe from stdin
echo "foo_bar_baz" | snake2title
# Foo Bar Baz

# Custom separator
snake2title -s - hello_world
# Hello-World

snake2title -s "." some_module_name
# Some.Module.Name

Options

Flag Description
-h, --help Show help message
-v, --version Show version number
-s, --separator Word separator (default: " ")

License

MIT © 2026 kszongic

About

Convert snake_case strings to Title Case from the terminal. Zero dependencies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages