Convert string to camelcase
$ npm install --save convert-to-camelcase
var convertToCamelcase = require("convert-to-camelcase").default
convertToCamelcase("the-really-cool-app");
//=> theReallyCoolApp
$ npm test
What does this method do?
Name | Type | Description |
---|---|---|
str | String |
String to convert |
Returns: String
, camelcased string
var convertToCamelcase = require("convert-to-camelcase").default
convertToCamelcase("the-really-cool-app");
//=> theReallyCoolApp
MIT © Joe Gesualdo