Convert a string to camel case.
var camelcase = require( '@stdlib/string/base/camelcase' );Converts a string to camel case.
var out = camelcase( 'foo bar' );
// returns 'fooBar'
out = camelcase( 'IS_MOBILE' );
// returns 'isMobile'
out = camelcase( 'Hello World!' );
// returns 'helloWorld'
out = camelcase( '--foo-bar--' );
// returns 'fooBar'var camelcase = require( '@stdlib/string/base/camelcase' );
var str = 'Hello World!';
var out = camelcase( str );
// returns 'helloWorld'
str = 'HELLO WORLD!';
out = camelcase( str );
// returns 'helloWorld'
str = 'To be, or not to be: that is the question.';
out = camelcase( str );
// returns 'toBeOrNotToBeThatIsTheQuestion'@stdlib/string/base/constantcase: convert a string to constant case.@stdlib/string/base/lowercase: convert a string to lowercase.@stdlib/string/base/snakecase: convert a string to snake case.@stdlib/string/base/uppercase: convert a string to uppercase.