String to camel case
JavaScript Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
History.md
Makefile
Readme.md
component.json
index.js
package.json

Readme.md

to-camel-case

Converts a string to camelCase

Installation

$ component install vendethiel/to-camel-case

$ npm install to-camel-case

API

toCamelCase(string, first = false)

toCamelCase("hello-ya").should.equal("helloYa")

toCamelCase("chocolate-rain").should.equal("chocolateRain")

toCamelCase("hello-howare-ya", true).should.equal("HelloHowareYa")

License

MIT