0.0.1 • Published 5 years ago

elasticdriver v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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'));
});