Registry / data / node-red-biglib

node-red-biglib

JSON →
library1.3.4jsnpmunverified

node-red-biglib is the core library for building high-volume Node-RED flow nodes that process data in 'blocks' (buffers). Version 1.3.4 is stable, with no recent updates since 2017. It provides helpers for memory control, buffer workflows, status propagation (color/message), and message reuse (_msgid, topic). Unlike standard Node-RED nodes, Big Nodes emphasize a second output for flow control and filter-by-default behavior. Dependencies include byline, filesize, and moment.

npm install node-red-biglib
INSTALL
IMPORT
SIG · NODE-RED-BIGLIB
N
node-red-biglib
datajavascriptv1.3.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

BigLib
const BigLib = require('node-red-biglib')
import BigLib from 'node-red-biglib'
This package is CommonJS only; no ESM support expected.
biglib
const biglib = require('node-red-biglib')
const BigLib = require('node-red-biglib').BigLib
The main export is the entire module; no named exports exist.
BigNode
const BigNode = require('node-red-biglib').BigNode
import { BigNode } from 'node-red-biglib'
BigNode is a property of the default export; Node-RED's function nodes require CommonJS.

Shows how to require the library, use BigNode constructor, and process blocks in a custom Node-RED node.

const BigLib = require('node-red-biglib'); const BigNode = BigLib.BigNode; // Example: Create a simple big node module.exports = function(RED) { function MyBigNode(config) { RED.nodes.createNode(this, config); BigNode.call(this, config); this.on('input', function(msg) { // Process blocks const block = BigLib.createBlock(msg.payload, {}); this.sendBlock(block); }); } RED.nodes.registerType('my-big-node', MyBigNode); };
Debug
Known issues
gotchaThis library is designed for Node-RED and not intended for standalone use outside of Node-RED's runtime.
fix
Only use within Node-RED custom node development.
affects: >=1.0.0
gotchaThe documentation and API are not well documented; rely on Big Nodes child packages for usage examples.
fix
Refer to node-red-contrib-bigfile, node-red-contrib-bigcsv etc. for patterns.
affects: >=1.0.0
deprecatedMoment.js is deprecated and recommended to be replaced with modern date libraries.
fix
Consider patching to use date-fns or Luxon instead, but be aware of breaking changes.
affects: >=1.0.0
breakingMajor version 2 may not be backward compatible; no official migration guide exists.
fix
If upgrading from 1.x, check child node packages for compatibility.
affects: >=2.0.0 (if released)
Errors
Common errors & fixes
TypeError: BigLib.createBlock is not a function
Incorrect import or use of a non-existent API; likely a typo or wrong symbol.
fix
Use BigLib.Block or check actual exported properties (require('node-red-biglib')).
Cannot find module 'node-red-biglib'
Package not installed in the Node-RED user directory or global modules.
fix
Run 'npm install node-red-biglib' in the Node-RED home directory (~/.node-red).
BigNode is not a constructor
BigNode not called with 'new' or not properly inherited.
fix
Ensure proper usage: BigNode.call(this, config) inside node constructor.
Upgrade
Version history
1.3.4latest on npm
Audit
Dependencies
bylinerequiredsimple line-by-line stream reader
filesizerequiredprovides human readable file size
momentrequireddates parsing/manipulation
Agent activity
2 hits · last 30 days
node
2
Resources
node-red-biglib — npm install node-red-biglib · libregistry