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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i hump

      Weekly Downloads

      35

      Version

      0.0.4

      License

      MIT

      Last publish

      Collaborators

      • nswbmw