Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.02 KB

browserify-aws-sdk

A browserify transform to support bundling the aws-sdk library with your code into a single file for Node.js runtime environments.

NPM Build Status

Install

Assuming you already have browserify installed, with npm do:

npm install --save-dev browserify-aws-sdk

Usage

To use from the command line:

# include all services
browserify -g browserify-aws-sdk main.js
# include specified services only
browserify -g [ browserify-aws-sdk --services="ec2,route53" ] main.js

or from the api:

// include all services
b.transform('browserify-aws-sdk', { global: true });
// include specified services only
b.transform('browserify-aws-sdk', { global: true, services: ["ec2", "route53"] });