npm.io
0.0.1 • Published 7 years ago

elasticdriver

Licence
MIT
Version
0.0.1
Deps
3
Size
2.4 MB
Vulns
0
Weekly
0
Stars
4

ElasticDriver

Working with ElasticSearch via Filesystem API

Demo

demo

Example

const ElasticDriver = require('./index');

const driver = new ElasticDriver(__dirname + '/elasticsearch');

driver.mount(err => console.log('mount ', err ? err : 'ok'));

process.on('SIGINT', code => {
    driver.unmount(err => console.log('unmount ', err ? err : 'ok'));
});

Keywords