Develop and deploy applications with the AWS SDK for JavaScript. The SDK provides first class TypeScript support and makes it easy to call AWS services using idiomatic JavaScript APIs to build Node.js, web, and mobile web applications.
Develop server-side apps
![Node.js Node.js](https://d1.awsstatic.com/developer-tools/Logo_Node.js_2.e23c0a89b914e50f21ccc9fbb33211178a2f2df2.png)
Develop modern server-side web applications using Node, Node Modules, and the Node HTTP server. Access AWS services directly from your RESTful applications using Node.js frameworks.
Develop web apps
![JavaScript JavaScript](https://d1.awsstatic.com/product-marketing/MXNet/javascript-logo-100px.124eb91d941afeaf49827422a6be5a09a4937551.png)
Develop modern front-end applications and access AWS services directly from JavaScript code running in your browser.
Develop mobile apps
![React React](https://d1.awsstatic.com/SDK%20and%20Developer%20Language%20Images/react.17a10e77661c2b16f048b82c90ea219edc73ff36.png)
Develop modern mobile applications using React Native and access AWS services directly from your iOS and Android mobile devices.
How it works
The AWS SDK for JavaScript simplifies use of AWS Services by providing a set of libraries that are consistent and familiar for JavaScript developers. It provides support for API lifecycle consideration such as credential management, retries, data marshaling, serialization, and deserialization. The AWS SDK for JavaScript also supports higher level abstractions for simplified development. Visit GitHub to see AWS-focused open source JavaScript libraries.
The AWS SDK for JavaScript supports three runtimes: JavaScript for browser, Node.js for server, React Native for mobile development. It also supports cross-runtime: a service client package can be run on browsers, Node.js, and React-Native without code change.
Customers who use the AWS SDK for JavaScript will have the following benefits:
- Support for all AWS services (300+) and operations (13K+).
- Support for every new feature, service, and region on the day they launch.
- Bug fixes and critical security patches.
- Support commitment from AWS via premium support and GitHub.
- Standardized behaviors such as automated retries, serialization/deserialization, credential providers.
- Service customizations such as Flexible Checksums, S3 Multi-region Access Points, S3 Object Lambda, S3 Express One Zone, S3 Bucket Virtual Hosted-Style Addressing, Lambda Recursive Loop Detection.
- Continuous improvements to the SDK, including performance.
We are committed to continuously improving the AWS SDK for JavaScript. If you have any ideas and suggestions, please create a feature request on GitHub.
Key features
Our Javascript SDK is fully written in Typescript and then compiled to JavaScript. This allows you to use the benefits of Typescript, such as static type-checking, and class and module support. You can also use newer features from ES6, ES7, and beyond without having to worry about the backwards compatibility. The finished code produced by the compiler will be backwards compatible with ES5 and will work just fine with older browsers. To learn more, visit the AWS JavaScript Developer Blog.
AWS SDK for JavaScript introduces the middleware stack, which allows you to customize the SDK behavior by modifying the middleware. You can add your custom asynchronous actions to the AWS SDK for JavaScript and/or remove the default ones. These actions serialize input parameters into the data over the wire and deserialize response data into JavaScript objects. Such actions are implemented using functions called middleware and executed in a specific order. To learn more, visit the AWS JavaScript Developer Blog.
Reduce your application bundle size and improve your application performance by only importing the packages your application requires. AWS SDK for Javascript has a modular architecture with a separate package published for each service. These packages are published under @aws-sdk/ scope on NPM to make it easy to identify packages that are part of the official AWS SDK for JavaScript. To learn more, visit the AWS JavaScript Developer Blog.
Guides
Developer guide
The developer guide describes the features for the latest version of the AWS SDK for JavaScript v3 and how to use them.
API reference guide
The JavaScript API reference guide describes the API operations for the latest version of the AWS SDK for JavaScript. The reference guide also provides sample requests, responses, and errors for the supported web services protocols.
SDK code examples
The SDK code examples contain JavaScript code examples and real-world use cases for AWS services to help accelerate development of your applications.
Migration guide
The AWS SDK for JavaScript v3 migration guide describes how to migrate from version 2 to version 3 of the SDK for JavaScript.
Additional resources
Find additional resources and guides for building JavaScript applications on AWS.
Read the AWS Developer blog to get the latest news and announcements on JavaScript.
Visit GitHub to view AWS SDK and high-level library repos.
Are you interested in running your Java workloads on AWS? Have an AWS representative follow-up with you about your IT project.