🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

riak-mock-server

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riak-mock-server

A server mocking the behavior of a riak server but with simple in memory storage. Once quit everything will be lost.

latest
Source
npmnpm
Version
0.4.4
Version published
Maintainers
2
Created
Source

riak-mock-server

A riak mock server used to emulate a real riak server for unit testing purposes.

How to use

You can either do

node ./bin/start.js

to get a running instance. Or use this module somewhere else to start the server by doing.

var RiakMockServer = require('riak-mock-server');
var riakMockServer = new RiakMockServer();
riakMockServer.start(function(port) {
 console.log('riak mock server has been started at port %j', port);
});

Disclaimer

This module has been created as part of the testing development in one of my projects. It is not feature complete. Instead it only covers what we needed for our tests so far. Please feel free to fork and add to this.

FAQs

Package last updated on 03 Feb 2015

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