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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    44
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    44
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i hump

Weekly Downloads

44

Version

0.0.4

License

MIT

Last publish

Collaborators

  • nswbmw