Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
String to camel case
JavaScript Makefile
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.