IMPORTANT: elasticsearch.js has been replaced by the new Elasticsearch JavaScript client. We strongly advise you to migrate to the new client. To learn more, see the migration guide.
superagent-elasticsearch
editsuperagent-elasticsearch
editThis Connection
class allows you to send all requests from an elasticsearch.js Client
instance with superagent. superagent
has support for all sorts of authentication strategies (eg. kerberos, in-house CAs, etc.), but also supports a beforeEachRequest
hook powers all kinds of per-request tweaking.
superagent-elasticsearch is available on npm.