caseconv
v1.0.3
Published
A utility to switch back and forth between snake and camel case code
Downloads
2
Readme
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.