Skip to main content

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 React Native applications.

Apps

Develop server-side apps

Develop modern server-side web applications using the Node.js runtime. Access AWS services directly from your RESTful applications.

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 native 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.

You can use AWS SDK for JavaScript for writing backend services in Node.js, web frontends in browser, or mobile native frontends in React Native. 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 retriesserialization/deserializationcredential 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 an issue on GitHub.

Key Features

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. 

Read more

First-class TypeScript support

The AWS SDK for JavaScript is written in TypeScript. Its first-class static type definitions are self-documenting and speeds up readability, debugging and refactoring. The type definitions also help detect 15-38% of the bugs in the application code.

Read more

Middleware Stack

The 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.

Read more