https://github.com/bjacobel/aws-sdk-umd
UMD wrapper for AWS JS SDK. Good for use with React Native.
https://github.com/bjacobel/aws-sdk-umd
Last synced: 3 months ago
JSON representation
UMD wrapper for AWS JS SDK. Good for use with React Native.
- Host: GitHub
- URL: https://github.com/bjacobel/aws-sdk-umd
- Owner: bjacobel
- License: mit
- Created: 2016-07-22T02:14:06.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-10T19:34:16.000Z (over 8 years ago)
- Last Synced: 2025-03-11T21:01:56.217Z (3 months ago)
- Language: JavaScript
- Homepage: https://npmjs.com/package/aws-sdk-umd
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## aws-sdk-umd
>## Note:
>The AWS SDK now natively supports being loaded with Webpack. [See this GitHub issue for more details](https://github.com/aws/aws-sdk-js/issues/603). This library is unmaintained, so if you use Webpack yourself I would suggest integrating `aws-sdk@^2.6.0` in your build directly rather than through this library.Exports the [AWS SDK for Node.js](https://aws.amazon.com/sdk-for-node-js/) as a [UMD module](https://github.com/umdjs/umd). Drops the `fs` dependency so the Node version of the SDK can be used in the browser (or in React Native).
#### Use it
```
npm install --save aws-sdk-umd
``````
// ES6 modules
import AWS from 'aws-sdk-umd';// CommonJS modules
var AWS = require('aws-sdk-umd');// AMD
require(['aws-sdk-umd'], function(AWS) {
```#### Build it locally
```
npm install
npm run build
```The library will be built and output in `dist/aws-sdk-umd.js`.
If you want a build that only contains certain services:
```
AWS_SERVICES=s3,dynamodb npm run build
```#### Thanks
Thanks to [Francois Ward](https://github.com/phoenixmatrix) for getting me started and [Chris Radek](https://github.com/chrisradek) for [this post demoing the Webpack configuration](https://github.com/aws/aws-sdk-js/issues/603#issuecomment-212479600).#### License
MIT