Displaying 1 to 18 from 18 results

primus - :zap: Primus, the creator god of the transformers & an abstraction layer for real-time to prevent module lock-in

  •    Javascript

Primus, the creator god of transformers but now also known as universal wrapper for real-time frameworks. There are a lot of real-time frameworks available for Node.js and they all have different opinions on how real-time should be done. Primus provides a common low level interface to communicate in real-time using various real-time frameworks.If you deploy your application behind a reverse proxy (Nginx, HAProxy, etc.) you might need to add WebSocket specific settings to its configuration files. If you intend to use WebSockets, please ensure that these settings have been added. There are some example configuration files available in the observing/balancerbattle repository.

primus-express-session - Share a user session between Express and Primus

  •    Javascript

Share a user session between Express and Primus.This is the branch for Express 4.x and Primus 2.2.x.

ejson - EJSON - Extended JSON from Meteor available for Node

  •    Javascript

The ejson module is port of Meteor's EJSON parser which has been made compatible for Node.js and browsers. This way, other real-time libraries can also make use of these extensions.See the meteor EJSON documentation for more detailed information.

fortress-maximus - Despite his great power, size, and rank, Fortress Maximus is a weary and reluctant warrior

  •    Javascript

Despite his great power, size, and rank, Fortress Maximus is a weary and reluctant warrior. Fighting is against his pacifist nature and now spends his time validating.Whether I am a hero or a coward is not the issue! I am weary! My joints creak from the corrosion of war without end! I... cannot break this ring of hate that surrounds us all -- but I can remove myself from it. No matter what you decide... I am leaving and joining Primus to innovate real-time.




metroplex - The metroplex project keeps track of all connections in redis so it can find the server address for each given spark id

  •    Javascript

Metroplex is capable of transforming into a battle station, giant robot or a distributed connect client directory for Primus.

omega-supreme - Omega supreme adds messaging between multiple primus servers

  •    Javascript

Known for his great strength and greater courage, Omega Supreme is the Autobots’ last line of defense against the Decepticons. He will stand unwaveringly against overwhelming odds, and although outwardly grim, he is known by those with enough insight to actually relish the importance of his task – Omega knows that if he falls, it is unlikely there will be any remaining Autobots to take his place, but he would not have it any other way.In Primus mode, Omega Supreme has an incredible configurability, is able to broadcast a message with a single request and can distribute messages to single sparks. In place of his left hand, he is armed with authentication which can pulverize any attacker.

primacron - Primacron is high level interface written on top of Primus

  •    Javascript

Primacron is an ancient scientist who's responsible for building Unicron, the evil twin of Primus.Primacron is a high level and highly opinionated interface for Primus which provides multi-server logic through redis and plain HTTP. It introduces the concept of forced validation for every single message it receives. This gives you the guarantee that you can "safely" processes these messages once they are emitted.

primus-emit - Emitting events between server and client.

  •    Javascript

The primus-emit module adds client->server and server->client event emitting to Primus.The --save flags tells npm to automatically add the package and it's installed version as dependency.


substream - Volatile namespaces on top of Primus streams

  •    Javascript

SubStream is a simple stream multiplexer for Primus. It allows you to create simple message channels which only receive the information you send to it. These channels are in fact, streams, which is why this module is called SubStreams because it adds small streams on top of the main stream and intercepts them.The module can only be used in conjunction with Primus so make sure that your application is using that as its real-time backend.

angular-primus - Primus service for Angular.js

  •    Javascript

Primus provider for Angular. This plugin works with other Primus plugins like primus-emitter and primus-resource.

primus-responder - Request-Response ortiented communication for websockets with Primus.

  •    Javascript

Client and server plugin that adds a request/response cycle to Primus. Sends data to the given spark. As soon as the response from the spark arrives, fn is called with the sparks response as first and only argument.

primus-emitter - Simple emitter wrapper for Primus

  •    Javascript

Node.JS module that adds emitter capabilities to Primus. Send an event from server to client or from client to server.

primus-resource - Define resources with auto-binded methods that can be called remotely using Primus

  •    Javascript

Define resources with auto-binded methods that can be called remotely on top of Primus. This plugin depends on primus-multiplex and primus-emitter however if you disable multiplexing then you can omit installing primus-multiplex. Method on an object prototype in the form of on + method, like onupdate will be automatically binded as an event on all incoming sparks, then the event can be called remotely by the client by just invoking the method name without the on like update.

primus-rooms-adapter - In-memory default adapter for `primus-rooms`.

  •    Javascript

In-memory default adapter for primus-rooms. Use this adapter as an abstract class for creating your own custom 'primus-rooms' adapter.

primus

  •    Javascript

Primus.IO combines the core Primus with primus-rooms, primus-emitter and primus-multiplex plugins to provide an easy and still powerfull way of developing real time applications. For more details on options or additional methods please check each individual module README file and test cases.

primus-webpack-plugin - Build client side primus script and add to build assets 📦⚡

  •    Javascript

Primus is a socket wrapper implementation that requires a built client library. The client library also needs to match the configuration of the server side implementation. Primus handles this by exposing primus.library() which returns the client library as a string. This is problematic in applications that bundle and dynamically generate client assets. It is also problematic because unless you want to serve the client script directly from your websocket server (not a great approach IMO) you need to prebuild and package the client script anyway.

primus-graphql - Primus server/client plugin for GraphQL and Relay

  •    Javascript

schema: A GraphQLSchema instance from [graphql-js][]. A schema must be provided. context: Optional. A value to pass as the context to the graphql() function from [graphql-js][]. If a function is used it will be invoke w/ spark, and must return the context.