Skip to content

convert a string(like: hello-world) to hump-style string(to: helloWorld)

Notifications You must be signed in to change notification settings

nswbmw/node-hump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

convert a string(like: hello-world) to hump-style string(to: helloWorld)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published