Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Ipsee facilitates IPC (Inter Process Communication) in Node.js via UNIX sockets.
Install using NPM:
npm install ipsee --save
Give Ipsee a namespace for your application and subscribe:
var ipsee = require('ipsee');
var ipc = ipsee('my_app_namespace').subscribe();
Now you can send and receive messages with your other processes and programs:
ipc.on('ping', function(data) {
console.log('received ping from pid %d, sending pong...', data._fromUID);
ipc.send('pong');
});
Creates a new UNIX socket server and connects to other sockets in the given namespace.
If a uid
is supplied, then subscribe to the socket server referenced, otherwise subscribe to all in the namespace.
Broadcast an event to other connected sockets containing optional data.
End connections with all sockets and unlink the underlying file descriptor.
The ipsee()
function's second argument is an optional options
dictionary.
Directory path where UNIX socket file descriptor should be created. Default: /tmp
.
Print verbose debug messages to the console. Default: false
.
Unique identifier other ipsee instances use to refer to this one. Default: process.pid
.
Aside from your custom event listeners, there are a few built in events.
Emitted when this socket server is listening on the newly minted file descriptor.
Emitted when this socket server has been closed and the underlying file descriptor unlinked.
Emitted when something unexpected happens. Failure to handle this event will result in a throw
.
FAQs
inter-process communication for node
The npm package ipsee receives a total of 5 weekly downloads. As such, ipsee popularity was classified as not popular.
We found that ipsee demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.