Open BrAwnyTime opened 5 years ago
@BrAwnyTime Feel free to submit a PR. I've got one strict rule, that you'll see repeated through many PRs: this lib is sensitive to bundle size increases, as it's sole purpose is to create valid xlsx output as lightweight as possible :)
I attempted to use your library server-side in a NestJS application, but due to ZipJS throwing an error on
blob is not supported by this platform
specifically atjszip/lib/utils.js:352:15
. It does look like this is possible.I believe NodeJS would be support with two changes:
generateXLSX(config)
and the.then((blob) => Filesaver...) could be supplied on the default export which would just call the
generateXLSX` function.i'd be happy to contribute to the library if this is an acceptable solution/direction.