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

Get started with AWS SDK for JavaScript for Node.js

Develop modern front-end applications and access AWS services directly from JavaScript code running in your browser.

Get started with AWS SDK for JavaScript in browser

Develop modern mobile applications using React Native and access AWS services directly from your iOS and Android mobile devices.

Get started with AWS SDK for JavaScript in React Native

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:

We are committed to continuously improving the AWS SDK for JavaScript. If you have any ideas and suggestions, please create an issue on GitHub.

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.

Learn more

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.

Learn more

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.

Learn more