append-log

append only log for todb

Usage no npm install needed!

<script type="module">
  import appendLog from 'https://cdn.skypack.dev/append-log';
</script>

README

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);
        })
    });