Socket
Socket
Sign inDemoInstall

@redbirdhq/aws-ome-sdk

Package Overview
Dependencies
1
Maintainers
10
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @redbirdhq/aws-ome-sdk

Get AWS client for online or offline/local execution of serverless Framework


Version published
Maintainers
10
Install size
95.4 MB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 11 Jan 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc