riaevangelist / node-ipc Goto Github PK
View Code? Open in Web Editor NEWA nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.
License: MIT License
A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.
License: MIT License
Hi, I'm running a few experiments transmitting raw data using rawBuffer=true
and encoding='hex'
. I noticed that messages over 8Kb are chunked into multiple messages of 8192 bytes each. I realized we can reconstruct the original message by concatenating the chunks, but I'm wondering if there's a way to increase the chunk size?
Thanks.
npm i node-ipc
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@achrinza/[email protected]',
npm WARN EBADENGINE required: {
npm WARN EBADENGINE node: '8 || 9 || 10 || 11 || 12 || 13 || 14 || 15 || 16 || 17 || 18 || 19'
npm WARN EBADENGINE },
npm WARN EBADENGINE current: { node: 'v20.11.0', npm: '10.2.4' }
npm WARN EBADENGINE }
When using the rawbuffer
option in the client, the emit
function should also support the emit(value: any)
signature. Currently, the type definition only provides emit(event: string, value?: any): Client;
. This causes type errors when trying to use the emit
function with only a value argument in TypeScript.
The type definition for the emit
function should include both:
emit(event: string, value?: any): Client;
emit(value: any): Client;
node-ipc
library.rawbuffer
option with the following code:import RawIPC from 'node-ipc';
const ipc = new RawIPC.IPC();
ipc.config.rawBuffer = true;
ipc.config.encoding = 'hex';
ipc.connectTo('test', () => {
const message = Buffer.from([0x62]);
ipc.of['test'].emit(message);
});
emit
function with only a value argument.Hello,When I use npm install [email protected], the following occurs:
npm error notarget No matching version found for [email protected].
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
Hi
Can you please advise which version the protestware was added?
All previous releases are not there and I seem to not find the history too.
Yours is a great package, and I would like to use the one prior to the release when the the protesting codes were added.
Don't want to surprise my users!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.