VS Primus

Compare vs Primus and see what are their differences.

Realtime application framework (Node.JS server) (by socketio)


:zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in. (by primus)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Klotho - AWS Cloud-aware infrastructure-from-code toolbox [NEW]
  • Sonar - Write Clean JavaScript Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale. Primus
677 2
57,503 4,387
0.6% 0.3%
8.3 6.0
3 days ago 29 days ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Posts with mentions or reviews of We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-31.
  • WhatsApp in React Native (part 3)
    4 projects | | 31 Jan 2023
    We need to add to our project:
  • Need Help Figuring Out How to Write Basic Program
    2 projects | | 17 Jan 2023
    Create a node app, and use npm to add express and Express handles the regular API endpoints, socket io handles websockets.
  • Vue 2 end of life December 2023
    3 projects | | 13 Jan 2023
    The switch wasn't that bad. We migrated a smaller Vue 2 and used Element Plus for the UI. We ran into problems with Vite since it requires ES modules for all your libs. We ended up ditching moment, axios, and sockjs and replaced them with dayjs, VueUse useFetch() and to make Vite happy. What we did was manually copy over one component at a time and rewrote any mixins as composition API functions. The large app took me a month to rewrite and we used Quasar for that after popular demand from the dev team. We standardized around the script setup syntax since it is cleaner to follow than plain setup().
  • Real time update from database in sveltekit
    3 projects | | 10 Jan 2023
    I would probably set up a separate server for the real-time functionality, but load all the chat data for each page like you normally would from the database in +page.server.js load functions. The websocket server would then handle all the real-time stuff in the client after the initial data is loaded. This would allow you to still take full advantage of SSR.
  • 10 Node.js Frameworks Every Developer Should Know
    9 projects | | 8 Jan 2023 is the best Node.js server and web framework for creating real-time web applications. It enables event-based communication between the Node.js server and the browser. Socket.IO acts as a backend library for Node.js and as a frontend library in the browser.
  • How we build a-la Google Meet with NextJS, PeerJS and SocketIO
    5 projects | | 30 Dec 2022
    After reading a couple articles and watching some tutorial videos, we realised that dealing with WebRTC natively is quite cumbersome. Due to this, PeerJS came handy to abstract away some configurations around WebRTC. While implementing peer-to-peer communication, there must be a signalling server for the purpose of keeping in sync the state/-s (muted, camera is off and etc.) between peers. Therefore, SocketIO played a role of signalling server. Basic authentication layer was integrated via Auth0 to implement certain features.
  • Nest JS Websockets - Rate Limiting and Acknowledgements
    2 projects | | 27 Dec 2022
    As of version 4.4.0 there is now built in support for acknowledgement timeouts. We pass a timeout argument of 30000 milliseconds (30 seconds) which will throw an error if our server does not send back an acknowledgement within that time period. If the timeout it hit, the leaveRoom() function will disconnect the socket and redirect the user back to the login page where they can try to join again.
  • Converting http.Request to gin.Context struct
    3 projects | | 23 Dec 2022
    For handling i use package gosf-socketio, when recieving a call from client i get channel struct and only available thing to use is .Request() which returns http.Request type.
  • Newbie Question - How to connect express sever to sveltekit
    2 projects | | 19 Dec 2022
    import express from "express"; import { createServer } from "http"; import { Server } from "";
  • 7 Useful JavaScript Libraries To Build a Real-Time Web App
    4 projects | | 12 Dec 2022 is one of the best cross-browser JavaScript library that provides event-driven communication capabilities for use in real-time applications. It allows bi-directional communication between client and server. Bi-directional communications are enabled when a client has Socket.IO in the browser, and a server has also integrated the Socket.IO package.


Posts with mentions or reviews of Primus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-28.

What are some alternatives?

When comparing and Primus you can also consider the following projects:

SocketCluster - Highly scalable realtime pub/sub and RPC framework

SockJS - WebSocket emulation - Node.js server

Centrifugo - Scalable real-time messaging server in a language-agnostic way. Set up once and forever. - server

Pusher - Ruby library for Pusher Channels HTTP API

Introducing .NET Multi-platform App UI (MAUI) - .NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.

Mercure - An open, easy, fast, reliable and battery-efficient solution for real-time communications

peerjs - Simple peer-to-peer with WebRTC

Faye - Simple pub/sub messaging for the web

ws - Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js

vba-websocket - VBA Websocket Sample (Echo Server Client)

Phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.