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