I wanted to convert column key to camel case but it's throwing error columnData.match is not a function
const data = excelToJson({ source: file.buffer, header: { rows: 1, // Assuming the header is in the first row }, columnToKey: { "*": _.camelCase, }, });
I wanted to convert column key to camel case but it's throwing error
columnData.match
is not a functionconst data = excelToJson({ source: file.buffer, header: { rows: 1, // Assuming the header is in the first row }, columnToKey: { "*": _.camelCase, }, });