node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

node-red-biglib

node-red-biglib

"Big Lib" is the core library for "Big Nodes"

Installation

npm install node-red-biglib

Principles for Big Nodes

See biglib for details on Big Nodes. Big Lib and subsequent Big Nodes are a family of nodes built for my own purpose. They are all designed to help me build a complete process for production purposes. For that I needed nodes able to:

  • Flow big volume of data (memory control, work with buffers)
  • Work with a flow of blocks (buffers) (multiple payload within a single job)
  • Tell what they are doing with extended use of statuses (color/message)
  • Use their second output for flow control (start/stop/running/status)
  • Reuse messages in order to propagate _msgid, topic
  • Depends on state of the art libraries for parsing (csv, xml, xlsxs, line, ...)
  • Acts as filters by default (1 payload = 1 action) or data generators (block flow)

All functionnalities are built under a library named biglib and all Big Nodes rely on it

The Big Nodes family

This library is used for big nodes developpement.

Here is the family

alt tag

Dependencies

byline simple line-by-line stream reader

filesize provides an easy way to get a human readable file size String

moment Parse, validate, manipulate, and display dates in JavaScript

API

Work in progress. Please look at Big Nodes

  • big file for reading files in multiple ways/format/encoding
  • big csv for parsing CSV
  • big line for parsing by lines
  • big fixed for fixed format parsing
  • big status for visual statuses
  • big exec for executing commands
  • big ssh for executing remote command over SSH
  • big mongo fork from node-red-contrib-mongodb2 for executing MongoDB requests with cursor support
  • big db2 in progress
  • big xlsx for parsing XLSX files
  • big splitter fork from node-red-contrib-splitter with big control support
  • big tail used for converting multiple payloads in one message with line and size constraints

Author

  • Jacques W

License

This code is Open Source under an Apache 2 License.

You may not use this code except in compliance with the License. You may obtain an original copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Please see the License for the specific language governing permissions and limitations under the License.

Feedback and Support

Please report any issues or suggestions via the Github Issues list for this repository.

For more information, feedback, or community support see the Node-Red Google groups forum at https://groups.google.com/forum/#!forum/node-red