Skip to content

[Feature request] Dependency-free distribution #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
altr-benjamin opened this issue Apr 11, 2025 · 0 comments
Open

[Feature request] Dependency-free distribution #290

altr-benjamin opened this issue Apr 11, 2025 · 0 comments

Comments

@altr-benjamin
Copy link

altr-benjamin commented Apr 11, 2025

This package seems really cool and I would love to be able to use it. However, it looks like it pulls in about 20M of dependencies on a fresh install, it looks like mainly owing to the peer dependencies for @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner.

$ mkdir example && cd example
$ npm init -y
$ npm install --save lambda-api
$ du -h node_modules | tail -n 1
#  20M	node_modules

For users who may not have a need to interact with S3, is there a way for these dependencies to be eliminated, or for some configuration to be passed in that skips installing these? If these dependencies are required, could the README be updated to reflect that the package is not dependency free?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant