@drupflare/spool - v0.1.0
    Preparing search index...

    Function jsonLinesSink

    • A sink that writes one JSON line per event through write, such as console.log or a stream's write. A view becomes a flat object (event, at and the view's fields) and a loads report one (event, view, count, at) so a log query can read them; any other request is written as it was held.

      Parameters

      • write: (line: string) => void

      Returns Sink