Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@kszongic/pascal2constant-cli

npm version license

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

Install

npm install -g @kszongic/pascal2constant-cli

Usage

# Direct arguments
$ pascal2constant MyVariableName
MY_VARIABLE_NAME

$ pascal2constant HttpResponse XMLParser
HTTP_RESPONSE
XML_PARSER

# Pipe from stdin
$ echo "HelloWorld" | pascal2constant
HELLO_WORLD

Options

Flag Description
-h, --help Show usage information
-v, --version Show version number

Related

License

MIT © kszongic

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages