src/text.js
/**
  * Convert dashes and underbars to camel-case
  *
  * @param string snake string
  * @return camel string
  */
Convert dashes and underbars to camel-case
@param string snake string
@return camel string
Convert dashes and underbars to camel - case @param string snake string @return camel string
static snakeToCamel (str) {
    return str.replace(/([-_][a-z])/g,
      (group) => group.toUpperCase()
                    .replace('-', '')
                    .replace('_', '')
                  );
  }
static snakeToCamel ( str ) { return str . replace ( / ([-_][a-z]) / g , ( group ) => group . toUpperCase ( ) . replace ( '-' , '' ) . replace ( '_' , '' ) ) ; }
Convert dashes and underbars to camel-case
 @param string snake string
 @return camel string
Convert dashes and underbars to camel - case @param string snake string @return camel string