dist/modules/string.js
function camelcase(val) {
    if (!is_1.isValue(val))
        return null;
    var result = val.replace(/[^A-Za-z0-9]/g, ' ').replace(/^\w|[A-Z]|\b\w|\s+/g, function (m, i) {
        if (+m === 0 || /(\.|-|_)/.test(m))
            return '';
        return i === 0 ? m.toLowerCase() : m.toUpperCase();
    });
    return result.charAt(0).toLowerCase() + result.slice(1);
}
function camelcase(val) {
    if (!is_1.isValue(val))
        return null;
    var result = val.replace(/[^A-Za-z0-9]/g, ' ').replace(/^\w|[A-Z]|\b\w|\s+/g, function (m, i) {
        if (+m === 0 || /(\.|-|_)/.test(m))
            return '';
        return i === 0 ? m.toLowerCase() : m.toUpperCase();
    });
    return result.charAt(0).toLowerCase() + result.slice(1);
}
function camelcase ( val ) { if ( ! is_1 . isValue ( val ) ) return null ; var result = val . replace ( / [^A-Za-z0-9] / g , ' ' ) . replace ( / ^\w|[A-Z]|\b\w|\s+ / g , function ( m , i ) { if ( + m === 0 || / (\.|-|_) / . test ( m ) ) return '' ; return i === 0 ? m . toLowerCase ( ) : m . toUpperCase ( ) ; } ) ; return result . charAt ( 0 ) . toLowerCase ( ) + result . slice ( 1 ) ; }
Camelcase
Converts string to camelcase.

@param val the value to be transformed.
Camelcase Converts string to camelcase .