Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kszongic/kebab2constant-cli

npm version license

Convert kebab-case strings to CONSTANT_CASE from the command line. Zero dependencies.

Install

npm i -g @kszongic/kebab2constant-cli

Usage

# Convert arguments
kebab2constant hello-world
# HELLO_WORLD

kebab2constant my-var-name foo-bar
# MY_VAR_NAME
# FOO_BAR

# Pipe from stdin
echo "some-value" | kebab2constant
# SOME_VALUE

cat names.txt | kebab2constant

Options

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

License

MIT © 2026 kszongic

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages