@treecg/connector-file
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@treecg/connector-file

Connector that communicates via a filesystem.

Options

  • type: type of the connector created, to use this connector "file" is required
  • path: required parameter denoting the path of the file used for communication
  • onReplace: required parameter denoting how the file is used to communicate, possible values:
    • true: the entire file is read parsed and sent on change
    • false: the appended content is parsed and sent on append
  • readFirstContent: optional parameter, only used if onReplace equals true. When Reader is started the current content is used for the first message.
  • encoding: optional parameter used to denote the encoding of the file (defaults to utf-8)

Readme

Keywords

none

Package Sidebar

Install

npm i @treecg/connector-file

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

8.42 kB

Total Files

9

Last publish

Collaborators

  • ajuvercr
  • woutslabbinck
  • ddvlanck
  • dexagod
  • pietercolpaert
  • hdlva
  • julianrojas87
  • brechtvdv
  • kasperzutterman