aws-sdk-umd
v0.0.2
Published
UMD wrapper around the AWS SDK.
Downloads
3
Readme
aws-sdk-umd
Exports the AWS SDK for Node.js as a UMD module. 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 for getting me started and Chris Radek for this post demoing the Webpack configuration.
License
MIT