Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kszongic/dot2constant-cli

npm version license

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

Install

npm i -g @kszongic/dot2constant-cli

Usage

# Arguments
dot2constant foo.bar.baz
# FOO_BAR_BAZ

dot2constant my.config.value another.key
# MY_CONFIG_VALUE
# ANOTHER_KEY

# Pipe from stdin
echo "hello.world" | dot2constant
# HELLO_WORLD

cat strings.txt | dot2constant

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