deepstreamio-storage-aws-dynamodb
v0.1.2
Published
AWS DynamoDB connector for deepstream.io
Downloads
7
Readme
AWS DynamoDB connector for deepstream.io
AWS DynamoDB connector for deepstream.io
Install
npm i -S deepstreamio-storage-aws-dynamodb
Usage
First you must set up your AWS credentials via one of these methods. Then:
import DynamoConnector from 'deepstreamio-storage-aws-dynamodb';
server.set('storage', new DynamoConnector({
region: 'us-east-1',
table: 'deepstream'
}));
Developing
This project uses the RISE yeoman generator. For development workflow, see the workflow guide. Cheatsheet:
- Add code to
src/index.js
and tests totest/index.js
. - Lint, build and test a project with
npm run build
. - Build and watch changes in
src/
withnpm run watch
- Run only tests with
npm run test
. - Check coverage with
npm run coverage
. - Generate a TOC for the
CHANGELOG
withnpm run toc
- Deploy to a remote origin with
npm run deploy
. - Bump version and publish a package with
npm run major
orminor/patch