elasticsearch-bin
v2.1.0
Published
Binary wrapper for ElasticSearch - A search server based on Lucene
Downloads
5
Maintainers
Readme
elasticsearch-bin
Binary wrapper for ElasticSearch - A search server based on Lucene.
Based on flow-bin
CLI
$ npm install --global elasticsearch-bin
$ elasticsearch --version
API
$ npm install --save elasticsearch-bin
const execFile = require('child_process').execFile;
const elasticsearch = require('elasticsearch-bin');
execFile(elasticsearch, ['--version'], (err, stdout) => {
console.log(stdout);
});
License
MIT © Thomas Sileghem