Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elasticsearch-bulk-index-stream

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elasticsearch-bulk-index-stream - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

api.md

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Change Log

## [0.0.3] - 2015-10-28
### Changed
- Updated README
### Added
- API documentation
## [0.0.2] - 2015-10-27

@@ -7,0 +14,0 @@ ### Added

6

package.json
{
"name": "elasticsearch-bulk-index-stream",
"version": "0.0.2",
"version": "0.0.3",
"description": "A writable stream for bulk indexing records in Elasticsearch",
"main": "index.js",
"scripts": {
"test": "eslint . && istanbul cover --print both _mocha test"
"test": "eslint . && istanbul cover --print both _mocha test",
"preversion": "jsdoc2md index.js > api.md"
},

@@ -17,2 +18,3 @@ "author": "Espen Volden <voldern@hoeggen.net>",

"istanbul": "^0.4.0",
"jsdoc-to-markdown": "^1.2.0",
"mocha": "^2.3.3",

@@ -19,0 +21,0 @@ "sinon": "^1.17.2",

@@ -47,5 +47,16 @@ # elasticsearch-bulk-index-stream

someInputStream.pipe(stream);
someInputStream
.pipe(stream)
.on('error', function(error) {
// Handle error
})
.on('finish', function() {
// Clean up Elasticsearch client?
})
```
# API
See [api.md](api.md).
# See

@@ -61,4 +72,9 @@

`elasticsearch-streams` also implements its own event named `close` to
indicate that all the data has been written to Elasticsearch. This
will break modules like [pump](https://www.npmjs.com/package/pump)
that depend on the `finish` event.
# License
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc