hump

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i hump

Weekly Downloads

74

Version

0.0.4

License

MIT

Last publish

Collaborators

  • nswbmw