append-log

0.0.6 • Public • Published

append_log

append only log for todb

It has two methods, add and readStream. ReadStream returns a stream of the entire log file.

    var appendLog = new AppendLog('./test.log' , ( err , log ) => {
        log.write( "value" , ( err ) => {
            log.readStream.pipe(process.stdout);
        })
    });
 

Readme

Keywords

none

Package Sidebar

Install

npm i append-log

Weekly Downloads

2

Version

0.0.6

License

MIT

Last publish

Collaborators

  • disordinary