Converts a string to camelCase.
The string to convert.
The string in camelCase format.
// ES Moduleimport { camelCase } from '@bnidev/js-utils'// CommonJSconst { camelCase } = require('@bnidev/js-utils') Copy
// ES Moduleimport { camelCase } from '@bnidev/js-utils'// CommonJSconst { camelCase } = require('@bnidev/js-utils')
camelCase('hello world') // 'helloWorld'camelCase('hello-world') // 'helloWorld'camelCase('hello_world') // 'helloWorld' Copy
camelCase('hello world') // 'helloWorld'camelCase('hello-world') // 'helloWorld'camelCase('hello_world') // 'helloWorld'
Converts a string to camelCase.