egeriis / zipcelx

Turns JSON data into `.xlsx` files in the browser
MIT License
294 stars 90 forks source link

NodeJS version (or supported methods) #64

Open BrAwnyTime opened 5 years ago

BrAwnyTime commented 5 years ago

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:

i'd be happy to contribute to the library if this is an acceptable solution/direction.

egeriis commented 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 :)