AWS SDK for JavaScript
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.
Apps
Develop server-side apps
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
Develop modern front-end applications and access AWS services directly from JavaScript code running in your browser.
Develop mobile apps
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 considerations such as credential management, retries, data marshaling, serialization, and deserialization. The AWS SDK for JavaScript also supports higher level abstractions for simplified development.
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 get 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 anissue on GitHub.
Features
First-class TypeScript support
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.
Middleware stack
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.
Modular architecture
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.