Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
2
Weekly downloads
 
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

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

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