elastic-bulk-stream
v2.0.0
Published
transform stream to transfer data to elasticsearch
Downloads
3
Readme
elastic-bulk-stream
transform stream to transfer data to elasticsearch
import { Client } from 'elasticsearch'
import elasticBulkStream from 'elastic-bulk-stream'
const client = new Client({ host: 'http://localhost:9200' })
getSomeInputStream().pipe(elasticBulkStream(client))