zhf.str-to-hump
v1.0.0
Published
字符串转驼峰
Downloads
5
Readme
字符串转驼峰
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