Skip to content

Raynos/level-write-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

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

About

A writeStream implementation for leveldb

Resources

License

Stars

Watchers

Forks

Packages

No packages published