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

dkv

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dkv

  • 0.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

DKV - A DynamoDB Key-value client

This provides a simple, DynamoDB-backed key value store suitable for use in AWS environments.

Installation

gem install dkv

Usage

Once installed, we assume a working AWS-environment based setup (at a min, access key id, secret key and region) and work as is.

With that in place,:

  • dkv init [table-name]: Creates a new table with the specified table name.
  • dkv set [table-name] [key] [value]: Set key in the given table to value.
  • dkv get [table-name] [key]: Get the value with the given key, exit with status 1 if not found.
  • dkv clear [table-name] [key]: Remove the given key (and it's attached value).

Implementation Details

We use (and provision) a dynamodb table with 1 read unit and 1 write unit, and with a single hash key on DataKey.

All values are stored in DataValue and we do very simple operations.

FAQs

Package last updated on 25 Jul 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