writable-file-stream
v1.0.2
Published
Writable file stream with memory buffer and reopen feature
Downloads
5
Maintainers
Readme
Writable Stream
Writable file stream with memory buffer and reopen features.
Example
var WritableFileStream = require('writable-file-stream');
var f = WritableFileStream('./test.txt', {
bufferSize: 1000
});
f.write('test');
f.write('test');
f.reopen(); // <- writes here
f.write('test');
f.write('test');
f.end(); // <- writes here