
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
realy-library
Advanced tools
Create realtime apps, easely.
Realy is a realtime data delivery platform providing developers everything they need to create, deliver and manage complex projects.
Realy have just 4 methods at moment. And i'ts very simple to use and get started.
import { init } from 'realy-library';
init('apiKey').then( socket => {
socket.on('news', ( data ) => {
console.log(data);
});
socket.emit('news', 'Realy is awesome!')
// #all users connected on your site will see this message
});
/**
* @name init
* @description Initialize the event and connects the user
* with the server to subscribe the events.
* @return {Promise}
* @param socket The socket instance, that have the
* methods .on, .emit and .disconnect
*/
Realy.init('apikey').then( socket => {
socket.on('event', () => { socket.emit('other event')});
socket.on('other event'=> {
console.log('All users connected on your application will see this message on console.')
})
})
/**
* @name on
* @description Register an event
* @param {String} event The event name that will be emitted.
* @param {Function} callback The callback that will be called.
* @return {void}
*/
Realy.on(event, callback);
/**
* @name emit
* @description Emit an event to all connected users
* @param {String} event The event name that will be emitted.
* @param {Any} args The arguments that you can pass in. Optionally.
* @return {void}
*/
Realy.emit(event, [...args]);
/**
* @name disconnect
* @description Disconnect the user from your socket. The user
* will not receive receive and emit events.
* @return {void}
*/
Realy.disconnect();
FAQs
Realy Realtime as a service library.
We found that realy-library 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.