Created
March 10, 2018 12:07
-
-
Save huynhsamha/b65ed8037395476231afaab04c93216c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
console.log(jsConvert.toCamelCase('param-case')); // paramCase | |
console.log(jsConvert.toSnakeCase('param-case')); // param_case | |
console.log(jsConvert.toPascalCase('param-case')); // ParamCase | |
console.log(jsConvert.toDotCase('param-case')); // param.case | |
console.log(jsConvert.toPathCase('param-case')); // param/case | |
console.log(jsConvert.toTextCase('param-case')); // param case | |
console.log(jsConvert.toSentenceCase('param-case')); // Param case | |
console.log(jsConvert.toHeaderCase('param-case')); // Param Case | |
console.log(jsConvert.toLowerCase('param-case')); // param-case | |
console.log(jsConvert.toUpperCase('param-case')); // PARAM-CASE | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment