lowerCamelcase
Format
NPM Package To Convert Input Into
Convert your input into lowerCamelcase format, this Node.js module allows you to convert string, array. object into lowerCamelcase.
Installation
Install with the node package manager npm:
- Using npm$ npm install camelcase-input --save
- Using yarn$ yarn add camelcase-input
How To Use?
string
Input
Convert const camelcase = camelcaseconsole /* OUTPUT */fooBar
object
Input
Convert const camelcase = camelcaseconsole /* OUTPUT */ fooBar: true
array of objects
Input
Convert const camelcase = camelcaseconsole /* OUTPUT */ fooBar: true isThatYou: true
array of string
Input
Convert const camelcase = camelcaseconsole /* OUTPUT */fooBar areYouThere
array of objects
Input ({ deep: true })
Convert const camelcase = camelcaseconsole) /* OUTPUT */ fooBar: abcDfR: true tghdDfdfEe: true barFoo: testTe: optTdt: dfdfdf
Changelog
- 1.0.0 Initial version
- 1.0.1 email regex added (email is not converted)
- 1.0.5 some issues resolved