You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

dynamo-local

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamo-local

Local dynamodb instance that you can start and stop via node.

0.0.4
latest
Source
npmnpm
Version published
Maintainers
2
Created
Source

dynamo-local

Local dynamodb instance that you can start and stop via node. For use in development with node programs that use dynamodb.

Installation

npm install -g dynamo-local

Usage

Command Line

dynamo-local start [--port=8000] [--dbPath=.] [--inMemory]

Options are passed directly to the dynamodb java program. Available options include:

  • --port - defaults to 8000
  • --dbPath - directory where dynamodb will write its database sqlite file. Defaults to current directory.
  • --inMemory - run in memory. No data will be saved.

From Node.js Program

var dynamoLocal = require('dynamo-local');
var options = { port: 8000 };
dynamoLocal({port: 8000, dbPath: '.'}, function (err) { /* ... */ });

Options are passed as command line arguments to the local dynamodb Java program. See 'Command Line' section above for available options.

Dynamo is started as a child process and dies when the parent process dies.

Keywords

dynamodb

FAQs

Package last updated on 20 Feb 2014

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