level-writestream
Streams2-compliant write stream for LevelDB
Install
$ npm i level-writestream --save
(also install level
if you haven't already:
$ npm i level --save
)
Import
var LevelWriteStream = ;
Apply
var db = ;;
Use
var ws = db;ws; source; ws;
You can use the same options as in the LevelUP API plus all the streams2 API conventions.
Plain Benchmarks comparing LevelUP and Level-WriteStream
$ tests/benchmarks/old/run
Complex Benchmark
$ cd tests/benchmarks$ ./run
License
MIT