Skip to content

Kronos-Integration/interceptor-stream-obj2string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •