Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dot2camel-cli

npm version license

Convert dot.notation strings to camelCase from the command line. Zero dependencies.

Install

npm install -g @kszongic/dot2camel-cli

Usage

# Single string
$ dot2camel foo.bar.baz
fooBarBaz

# Multiple strings
$ dot2camel user.first.name config.db.host
userFirstName
configDbHost

# Pipe from stdin
$ echo "some.dotted.key" | dot2camel
someDottedKey

# Process a file
$ cat keys.txt | dot2camel

Use Cases

  • Converting config keys (e.g. app.server.portappServerPort)
  • Transforming database column references to JS variable names
  • Batch-renaming dot-separated identifiers

Options

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

License

MIT © 2026 kszongic

About

Convert dot.case strings to camelCase from the command line

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages