New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mocdoc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mocdoc

In-memory DynamoDB, designed with parallel testing in mind.

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
1
Created
Source

mocdoc

Run in-memory DynamoDB instances for parallel testing (e.g. Ava). Heavily inspired by MongoDB Memory Server; backed by Dynalite.

Install

npm install --save-dev mocdoc

Use

const AWS = require('aws-sdk')
const { DynamoDBMemoryServer } = require('mocdoc')

const DynamoDB = new DynamoDBMemoryServer()
const endpoint = await DynamoDB.getEndpoint()

const dynamoClient = AWS.DynamoDB({ endpoint })

Debug logging is enabled with the DEBUG=mocdoc env var.

License

MIT

Keywords

aws

FAQs

Package last updated on 07 May 2020

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