author Lakkanna Walikar
 *  description import isEmpty from "lodash.isempty" ; import camelCase from "lodash.camelcase" ; import removeQuotes from "./removeQuotes" ; param { string [ ] } lines returns { string [ ] } const generateCamelCaseCSS = ( lines ) : string [ ] => { let returnLines = [ ] ; if ( Array . isArray ( lines ) ) { lines . forEach ( ( line ) => { if ( ! isEmpty ( line ) && typeof line === "string" ) { let [ key , value ] = line . split ( ":" ) ; let propertyValue = removeQuotes ( value ) ; propertyValue = isNaN ( propertyValue as number ) ? `"${ propertyValue }"` : propertyValue ; const newLine = `${ camelCase ( key . trim ( ) ) }: ${ propertyValue },` ; returnLines . push ( newLine ) ; } } ) ; return returnLines ; } return [ "" ] ; } ; export default generateCamelCaseCSS ;