1.0.3 • Published 2 years ago

caseconv v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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.