1.0.6 • Published 6 years ago

elasticsearch-mock-js v1.0.6

Weekly downloads
29
License
MIT
Repository
github
Last release
6 years ago

Elasticsearch-mock-js

An npm module to quickly spin up and tear down an elasticsearch server for testing purposes. This module exposes two methods: start and stop. start starts an elasticsearch server after clearing all old data. stop kills it.

Usage

const ES = require('elasticsearch-mock-js');

ES.start(() => {
  console.log('Started');
  ES.stop(() => {
    console.log('Stopped');
  });
});
1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago