zhf.str-to-hump

1.0.0 • Public • Published

字符串转驼峰

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

Readme

Keywords

none

Package Sidebar

Install

npm i zhf.str-to-hump

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

7.85 kB

Total Files

11

Last publish

Collaborators

  • zhouhuafei