Skip to content

arijitbasu321/caseconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caseconv

A utility to switch back and forth between snake and camel case code

#Installation npm i caseconv

Example

Convert to Snake:
ccase --type snake --input sample1.js --output sample2.js

Convert to Camel:
ccase --type camel --input sample1.js --output sample2.js

Note

The program ignores variable names which start with a capital letter or contain '-'. This is done to preserve pascal and kebab case.

About

This is a utility to switch back and forth between snake and camel case code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published