1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-04 02:09:22 +02:00
Oinktube/node_modules/level-write-stream/README.md
2022-07-15 11:08:01 -03:00

35 lines
527 B
Markdown

# level-write-stream
A writeStream implementation for leveldb
## Example
This implements the writeStream logic for a levelup interface.
Just pass it a db with `put` and `batch` method and it will do
the rest!
```js
var LevelWriteStream = require("level-write-stream")
var db = someleveldb()
var writeStream = LevelWriteStream(db)
var stream = writeStream(options)
stream.write({
key: key
, value: value
})
```
## Installation
`npm install level-write-stream`
## Contributors
- Raynos
## MIT Licenced