2.7.10 • Published 8 years ago
aws-sdk-on-lambda v2.7.10
aws-sdk-js-on-lambda
The current aws-sdk-js version on AWS Lambda, useful for testing
Usage
If you already have the aws-sdk installed as a devDependency, remove it.
NPM
npm v3 or later is required (flat dependencies).
npm i -g npm@latest && \
npm r -D aws-sdk && \
npm i -D binoculars/aws-sdk-js-on-lambda
Yarn
yarn remove aws-sdk && \
yarn add --dev binoculars/aws-sdk-js-on-lambda && \
yarn install --flat
In your code
As you normally would...
const AWS = require('aws-sdk');
// or
import AWS from 'aws-sdk';