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.
socketio-transceiver
Advanced tools
Transceiver adds real-time pubsub functionality to your Express.js app and optionally integrates with an Angular.js frontend. Based off of ideas (and code) from Sails.js, Transceiver lets you do things like this on your server:
app.get('/api/v1/users', function (req, res, next) {
User.find().then(function(users) {
res.json(users);
if (res.io) {
res.io.subscribe('User');
}
});
});
app.post('/api/v1/users', function (req, res, next) {
User.create(req.query).then(function(user) {
res.json(user);
if (res.io) {
res.io.publishCreate('User', user);
}
});
});
And things like this on your frontend (Angular in this case):
socket.get('/api/v1/users', function(users) {
console.log("Users are:", users);
$scope.$on("create:user", function(user) {
console.log("New user created:", user);
});
});
Tranceiver is currently considered an alpha library, meaning that it's not ready for embedding in production projects just yet.
FAQs
Real-time pubsub middleware for Express, using Socket.io.
The npm package socketio-transceiver receives a total of 4 weekly downloads. As such, socketio-transceiver popularity was classified as not popular.
We found that socketio-transceiver 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.