Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
feathers-socketio
Advanced tools
The Feathers Socket.io real-time API provider
This provider exposes Feathers services through a Socket.io real-time API. It is compatible with Feathers 1.x and 2.x.
Note: For the full API documentation go to feathersjs.com/docs/providers.html.
import feathers from 'feathers';
import socketio from 'feathers-socketio';
const app = feathers()
.configure(socketio(function(io) {
io.on('connection', function(socket) {
socket.emit('news', { hello: 'world' });
socket.on('my other event', function (data) {
console.log(data);
});
});
io.use(function(socket, next) {
socket.feathers.data = 'Hello world';
next();
});
io.use(function (socket, next) {
// Authorize using the /users service
app.service('users').find({
username: socket.request.username,
password: socket.request.password
}, next);
});
}));
app.use('/todos', {
get: function(id, params) {
console.log(params.data); // -> 'Hello world'
return Promise.resolve({
id,
description: `You have to do ${name}!`
});
}
});
import io from 'socket.io-client';
import feathers from 'feathers/client';
import socketio from 'feathers-socketio/client';
const socket = io('http://path/to/api');
const app = feathers()
.configure(socketio(socket));
1.2.0
1.1.0
1.0.0
Copyright (c) 2015
Licensed under the MIT license.
v1.4.0 (2016-04-28)
Merged pull requests:
FAQs
The Feathers Socket.io real-time API provider
The npm package feathers-socketio receives a total of 1,625 weekly downloads. As such, feathers-socketio popularity was classified as popular.
We found that feathers-socketio demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.