AWS SDK for JavaScript
npm install aws-sdk
The AWS SDK for JavaScript v2 has reached [end-of-support][v2-end-of-support] on September 8, 2025.
It will no longer receive updates or releases. Previously published versions are available on npm at
[aws-sdk][], and source code remains on GitHub at [aws/aws-sdk-js][].
We recommend that you migrate to [AWS SDK for JavaScript v3][v3-developer-guide], which has been GA
since December 2020. Here is [why and how you should use it][v3-recommended-blog]. You can try
migration scripts in [aws-sdk-js-codemod][] to migrate your application from v2 to v3.
To get help with your migration, please follow our general guidelines to
[open an issue][v3-new-issue-migration].
To give feedback on and report issues in the v3 repo, please refer to
[Giving feedback and contributing][v3-contributing].
[aws-sdk-js-codemod]: https://www.npmjs.com/package/aws-sdk-js-codemod
[aws-sdk]: https://www.npmjs.com/package/aws-sdk
[aws/aws-sdk-js]: https://github.com/aws/aws-sdk-js
[v2-end-of-support]: https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-aws-sdk-for-javascript-v2
[v3-contributing]: https://github.com/aws/aws-sdk-js-v3#giving-feedback-and-contributing
[v3-developer-guide]: https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html
[v3-new-issue-migration]: https://github.com/aws/aws-sdk-js-v3/issues/new?assignees=&labels=needs-triage%2Cv2-v3-inconsistency&projects=&template=v2-to-v3-migration.yml&title=MIGRATION+ISSUE%3A+%5BYour+Title+Here%5D
[v3-recommended-blog]: https://aws.amazon.com/blogs/developer/why-and-how-you-should-use-aws-sdk-for-javascript-v3-on-node-js-18/
This SDK is distributed under the
Apache License, Version 2.0,
see LICENSE.txt and NOTICE.txt for more information.