Hi I similarly wrote a post yesterday about using require() instead of import for XLSXWriteStream however I was wondering if that same method/approach was the same for importing TypeStyleKey?
Ex.
const XLSXWriteStream = require('@atomictech/xlsx-write-stream').default; const TypeStyleKey = require('@atomictech/xlsx-write-stream').default; < -- is this correct?
I just wanted to drop by and say that the interface of this lib is cleaner and it supports more types of cells than the original library.
Just what I was looking for.
Thank you :)
Basically what I mean by this is this:
When my dates are being written into the excel sheet and formatted through TypeStyleKey ('MM/DD/YY'), the type of data is listed as custom on the Excel sheet, however I want it to show date as the type specifically. Is this possible?
for more context the value being formatted is a date object
If it is not possible then how hard do you think it would be to implement it.
Where would be a good place to start looking and what are the difficulties to expect if I try to implement it by myself?