nodejs-sdk icon indicating copy to clipboard operation
nodejs-sdk copied to clipboard

Can you please split the SDK?

Open orgads opened this issue 2 years ago • 3 comments

I only use ai, which is 1M, yet the installed size is 66M.

Is it possible to have separate packages, similar to aws-sdk v3?

orgads avatar Dec 07 '23 13:12 orgads

Good idea, but not easy to implement. As a alternative solution I would suggest to use any bundler (weback, for example) which is able to "shake dependency tree" and add only actually used code. It is useful not only for yc nodejs-sdk, but for all dependencies as well

DavyJohnes avatar Dec 07 '23 18:12 DavyJohnes