1.0.0 • Published 6 years ago
zhf.str-to-hump v1.0.0
字符串转驼峰
const strToHump = require('zhf.str-to-hump');
console.log(strToHump('hello-world')); // helloWorld
console.log(strToHump('hello&world', '&')); // helloWorld
console.log(strToHump('-hello-world')); // HelloWorld
1.0.0
6 years ago