You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 at jszip/lib/utils.js:352:15. It does look like this is possible.
I believe NodeJS would be support with two changes:
if the config object was allowed to provide the type that ZipJS would use instead of hard coding blob
if the Promise of the zip was returned from a 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.
The text was updated successfully, but these errors were encountered:
@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.
The text was updated successfully, but these errors were encountered: