level-fstream

File streaming functionality of levelup in a module!

level-fstream

Former write-stream implementation from levelup that allows for fstream based streams to be piped into a levelup database.

npm install level-fstream --save
var level = require('level');
var levelfstream = require('level-fstream');
var fstream = require('fstream');
 
var db = levelfstream(level('./test.db'));
 
fstream.Reader('./directory')
  .pipe(db.fileStream({ fstreamRoot: path.join(__dirname, '')} ))
 
 

MIT