Skip to content

About

Splits a stream into lines

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2,612 Commits

Folders and files

Repository files navigation

npm License bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities

kronos-interceptor-stream-obj2string

Splits a stream into lines.

API

Table of Contents

Transform

Transforms an object stream into a stream of strings

constructor

Creates the line parser and sets the options. The following options are supported: { "allow_new_line_in_cell" : true, "line_separator" : "\n", "quote_char" : '"' "skip_empty_lines" : true }

Parameters

  • opts (optional, default {})

_transform

Reads the stream data and split it into lines.

Parameters

  • data
  • enc
  • next

Stream2ObjectInterceptor

Extends Interceptor

This interceptor cares about the handling of the messages. It will add the hops and copies the messages

install

With npm do:

npm install kronos-interceptor-stream-obj2string

license

BSD-2-Clause

About

Splits a stream into lines

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages