Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kszongic/snake2constant-cli

npm version license

Convert snake_case strings to CONSTANT_CASE from the command line. Zero dependencies.

Install

npm install -g @kszongic/snake2constant-cli

Usage

# Pass as arguments
$ snake2constant my_variable_name
MY_VARIABLE_NAME

# Multiple arguments
$ snake2constant foo_bar baz_qux
FOO_BAR
BAZ_QUX

# Pipe from stdin
$ echo "hello_world" | snake2constant
HELLO_WORLD

# Process a file
$ cat identifiers.txt | snake2constant

Options

Flag Description
-h, --help Show help message
-v, --version Show version number

License

MIT © 2026 kszongic

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages