0.0.11 • Published 6 years ago

@redbirdhq/aws-ome-sdk v0.0.11

Weekly downloads
1
License
Apache 2.0
Repository
github
Last release
6 years ago

AWS-OME-SDK

WARNING: this project as been deprecated

This repository/package will no longer be maintained. We advice you to swith to standard aws-sdk configuation.

Simpler and more reliable sample here: https://gist.github.com/ChristopheBougere/4fe9af102063607077990c7403fc1309

Description

Using this package with Serverless Framework and offline/local extensions:

/!\ All plugins should be installed /!\

How to install

Install all required serverless plugins.

Then install aws-ome-sdk:

$ npm install --save aws-ome-sdk

How to use

Use like aws-sdk.

const AWS = require('aws-ome-sdk');

const ddb = AWS.DynamoDB();
const ddbDoc = AWS.DynamoDB.DocumentClient();
const s3 = AWS.S3();

You can define local ports by setting these environment variables:

export LOCAL_DYNAMODB_PORT=8000;
export LOCAL_S3_PORT=4569;

or in Node.js:

process.env.LOCAL_DYNAMODB_PORT = 8000;
process.env.LOCAL_S3_PORT = 4569;

How to test

$ npm run test
$ npm run lint

TODO

  • More tests
0.0.11

6 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago