hump
v0.0.4
Published
convert a string(like: hello-world) to camel-cased string(to: helloWorld)
Downloads
127
Maintainers
Readme
node-hump
convert a string(like: hello-world) to hump-style string(to: helloWorld)
Install
npm install hump
Usage
var hump = require('hump');
console.log(hump("hello-world", "-"))
// => helloWorld
console.log(hump("hello_world", "_"))
// => helloWorld
License
MIT