Node.js :: Berlioz Documentation

Node.js

Initialize

Install Berlioz SDK:

$ npm install --save berlioz-gcp

Include Berlioz SDK:

const berlioz = require('berlioz-sdk');

Accessing DynamoDB Table

const AWS = require('aws-sdk');
berlioz.database('<database-name>').client(AWS)

Wraps AWS SDK and return instance of DynamoDB. All operations return Promise.