Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serverless-dynamodb-client

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-dynamodb-client

Serverless dynamodb client plugin

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

serverless-dynamodb-client

serverless npm version license

This Serverless 0.5.x plugin help you to call AWS Dynamodb SDK without switching between different dynamodb instances, whether you work with Dynamodb local or online in AWS.

This Plugin Requires

Using in your code

For each Lambda function, run the following command to add it to the npm package.json dependancies list

npm install --save serverless-dynamodb-client

Then you can use dynamodb in your code as follows

var dynamodb = require('serverless-dynamodb-client');

var rawClient = dynamodb.raw;  // returns an instance of new AWS.DynamoDB()

var docClient = dynamodb.doc;  // return an instance of new AWS.DynamoDB.DocumentClient()

Note: You need to run the serverless-dynamodb-local with default port: 8000 for this library to work

References

Keywords

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc