# dynamodb-hfc-kvs

> This module provides KeyValueStore implementation for hfc backed by DynamoDB

Latest version **1.0.3** (published 2020-01-13) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install dynamodb-hfc-kvs
pnpm add dynamodb-hfc-kvs
yarn add dynamodb-hfc-kvs
bun add dynamodb-hfc-kvs
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2020-01-13 |
| First published | 2019-09-18 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 14.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nakao Kazuyoshi |
| Maintainers | nakao |
| Keywords | dynamodb, hfc, blockchain, hyperledger, fabric |

## Links

- npm: https://www.npmjs.com/package/dynamodb-hfc-kvs
- Repository: https://github.com/nakao4532/dynamodb-hfc-kvs
- Homepage: https://github.com/nakao4532/dynamodb-hfc-kvs#readme
- Issues: https://github.com/nakao4532/dynamodb-hfc-kvs/issues
- npm.io page: https://npm.io/package/dynamodb-hfc-kvs

## Dependencies (3)

- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.530.0
- [fabric-client](https://npm.io/package/fabric-client.md) ^1.2.1
- [amazon-dax-client](https://npm.io/package/amazon-dax-client.md) ^1.2.2

## Recent versions

- 1.0.3 (latest) — 2020-01-13
- 1.0.1 — 2020-01-08
- 1.0.0 — 2019-09-18

## README

# DynamoDB HFC KeyValueStore

This node module provides KeyValueStore implementation backed by DynamoDB for Hyperledger Fabric Client SDK. This allows the nodejs clients of hyperledger to store the ECerts in DynamoDB.

## Installation

```bash
$ npm install --save dynamodb-hfc-kvs
```

## Code Example

```javascript
const DynamoDBKeyValueStore = require('dynamodb-hfc-kvs');

// Default
const DKVS = new DynamoDBKeyValueStore({tablename: 'ECertTable'});

// Use Amazon DynamoDB Accelerator(DAX)
const DKVS = new DynamoDBKeyValueStore({tablename: 'ECertTable', daxEndpoint: 'https://DAXHostName:PortNumber'});

// Use DynamoDB Local
const DKVS = new DynamoDBKeyValueStore({tablename: 'ECertTable', localEndpoint: 'http://DynamoDBLocalHostName:PortNumber', region: 'us-east-1'});
```

---
_Source: https://npm.io/package/dynamodb-hfc-kvs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
