Socket
Socket
Sign inDemoInstall

@brightcove/dynamodb-connector

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brightcove/dynamodb-connector

Provides a set of helpful functions for connecting to DynamoDB and performing operations


Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

DynamoDB Connector

Provides a standardized way to connect to an AWS DynamoDB database using the v3 AWS javascript SDK.

Node Version: ~> 18.12 NPM Version: ~> 9.1

Install

npm install @brightcove/dynamodb-connector --save

Usage

const DynamoDBConnector = require('@brightcove/dynamodb-connector');
const db = new DynamoDBConnector(options);
...
const result = await db.query({
    TableName: 'my-table',
    ...
});

Options

ParamTypeDescriptionRequired
dynamodbDynamoDBClientConfighttps://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-dynamodb/interfaces/dynamodbclientconfig.htmlyes
loggerLoggerWhat will be used for logging errors (ie. logger.error()). console is used by default if not specifiedno
sanitizedFieldsarrayThe default list of fields to filter out of items when calling sanitizeno

FAQs

Package last updated on 26 May 2023

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