Node.js to JS : receive file as stream and zip

We have a node js proxy accepts a files as a stream, zip it and encode to 64 and send to a target URL. We cannot use node/python/java as per new organizational policies.

Is there a way to achieve the same through a JS policy?

0 1 386
1 REPLY 1

No, not easily. There are some jszip libraries that supposedly work outside nodejs, but they will not perform very well in side a JS callout, and a solution built on that won't scale nicely.

per new organizational policies.

Can you describe this in more detail? Why such policies?