Closed styxlab closed 4 years ago
This package has no fs dependency
@puzrin
https://github.com/tomas/needle/blob/d2909e2a5f89ceeff0c29320d3a045afe47b2638/lib/multipart.js
fs has been used by needle (multipart).
How can i use this package in client side?
@hoanghiep node.js downloader can not work on client for obvious reasons. I would suggest to 'reqiure' sync part only, download full file and use sync method.
Thanks a lot for this nice package!
Would it be possible for you to make a version without
fs
dependency? If you probe image size from anurl
stream, you don't needfs
. Currently I cannot use this package in serverless lambda functions because of this dependency. The packagebuffer-image-size
is a good example of a similar approach withoutfs
.Thanks for your consideration.