Skip to content

NodeJS version (or supported methods) #64

Description

@BrAwnyTime

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions